{"cve":"CVE-2022-42890","nvd":{"published":"2022-10-25T17:15:57.637","modified":"2026-06-17T05:05:31.983","status":"Modified","description":"A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-918"],"references":["http://www.openwall.com/lists/oss-security/2022/10/25/3","https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly","https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html","https://security.gentoo.org/glsa/202401-11","https://www.debian.org/security/2022/dsa-5264"],"products":["apache:batik","debian:debian_linux"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-42890","score":0.03355,"percentile":0.88703,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rwqr-m72q-v6cm","url":"https://osv.dev/vulnerability/GHSA-rwqr-m72q-v6cm","summary":"Untrusted code execution in Apache XML Graphics Batik","modified":"2025-09-24T21:26:51.423780Z","packages":[{"ecosystem":"Maven","name":"org.apache.xmlgraphics:batik","purl":"pkg:maven/org.apache.xmlgraphics/batik","ranges":["<1.16"],"fixed":["1.16"]},{"ecosystem":"Maven","name":"org.apache.xmlgraphics:batik-bridge","purl":"pkg:maven/org.apache.xmlgraphics/batik-bridge","ranges":["<1.16"],"fixed":["1.16"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}