{ "id": "CVE-2024-34342", "sourceIdentifier": "security-advisories@github.com", "published": "2024-05-07T15:15:09.730", "lastModified": "2024-05-07T20:07:58.737", "vulnStatus": "Awaiting Analysis", "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\u00e1 configurado con `isEvalSupported` establecido en `true` (que es el valor predeterminado), se ejecutar\u00e1 JavaScript sin restricciones controlado por el atacante en el contexto del dominio de alojamiento. Esta vulnerabilidad se solucion\u00f3 en 7.7.3 y 8.0.2." } ], "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", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "LOW", "baseScore": 7.1, "baseSeverity": "HIGH" }, "exploitabilityScore": 1.6, "impactScore": 5.5 } ] }, "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" } ] }