{"id":"CVE-2024-34342","sourceIdentifier":"security-advisories@github.com","published":"2024-05-07T15:15:09.730","lastModified":"2026-06-17T07:33:12.770","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"react-pdf displays PDFs in React apps. If PDF.js is used to load a malicious PDF, and PDF.js is configured with `isEvalSupported` set to `true` (which is the default value), unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain. This vulnerability is fixed in 7.7.3 and 8.0.2."},{"lang":"es","value":"react-pdf muestra archivos PDF en aplicaciones React. Si se utiliza PDF.js para cargar un PDF malicioso y PDF.js está configurado con `isEvalSupported` establecido en `true` (que es el valor predeterminado), se ejecutará JavaScript sin restricciones controlado por el atacante en el contexto del dominio de alojamiento. Esta vulnerabilidad se solucionó en 7.7.3 y 8.0.2."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"wojtekmaj","product":"react-pdf","versions":[{"version":"< 7.7.3","status":"affected"},{"version":">= 8.0.0, < 8.0.2","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"pdf.js_viewer_project","product":"pdf.js_viewer","defaultStatus":"unknown","cpes":["cpe:2.3:a:pdf.js_viewer_project:pdf.js_viewer:*:*:*:*:*:wordpress:*:*"],"versions":[{"version":"< 7.7.3, \t>= 8.0.0, < 8.0.2","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"LOW"},"exploitabilityScore":1.6,"impactScore":5.5}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-05-07T18:55:02.356516Z","id":"CVE-2024-34342","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"references":[{"url":"https://github.com/mozilla/pdf.js/commit/85e64b5c16c9aaef738f421733c12911a441cec6","source":"security-advisories@github.com"},{"url":"https://github.com/mozilla/pdf.js/pull/18015","source":"security-advisories@github.com"},{"url":"https://github.com/mozilla/pdf.js/security/advisories/GHSA-wgrm-67xf-hhpq","source":"security-advisories@github.com"},{"url":"https://github.com/wojtekmaj/react-pdf/commit/208f28dd47fe38c33ce4bac4205b2b0a0bb207fe","source":"security-advisories@github.com"},{"url":"https://github.com/wojtekmaj/react-pdf/commit/671e6eaa2e373e404040c13cc6b668fe39839cad","source":"security-advisories@github.com"},{"url":"https://github.com/wojtekmaj/react-pdf/security/advisories/GHSA-87hq-q4gp-9wr4","source":"security-advisories@github.com"},{"url":"https://github.com/mozilla/pdf.js/commit/85e64b5c16c9aaef738f421733c12911a441cec6","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/mozilla/pdf.js/pull/18015","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/mozilla/pdf.js/security/advisories/GHSA-wgrm-67xf-hhpq","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/wojtekmaj/react-pdf/commit/208f28dd47fe38c33ce4bac4205b2b0a0bb207fe","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/wojtekmaj/react-pdf/commit/671e6eaa2e373e404040c13cc6b668fe39839cad","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/wojtekmaj/react-pdf/security/advisories/GHSA-87hq-q4gp-9wr4","source":"af854a3a-2127-422b-91ae-364da2661108"}]}