{"id":"CVE-2022-42890","published":"2022-10-25T00:00:00Z","modified":"2024-08-03T13:19:05Z","title":"Apache Batik prior to 1.16 allows RCE via scripting","vendor":"Apache","product":"Apache XML Graphics","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03378,"percentile":0.89069,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2022/10/25/3","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html","tags":["mailing-list"]},{"url":"https://www.debian.org/security/2022/dsa-5264","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202401-11","tags":["vendor-advisory"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":17.81}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache XML Graphics","versions":[">= Batik, <= 1.15"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.xmlgraphics:batik","vulnerableRanges":["<1.16"],"patched":["1.16"],"from":["GHSA-rwqr-m72q-v6cm"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.xmlgraphics:batik-bridge","vulnerableRanges":["<1.16"],"patched":["1.16"],"from":["GHSA-rwqr-m72q-v6cm"],"provenance":"source"}],"summary":{"text":"A flaw in the Batik component of Apache XML Graphics (Apache XML Graphics versions prior to 1.16) lets untrusted SVG content execute Java code through embedded JavaScript.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:32Z"},"euvd":{"id":"EUVD-2022-7161","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-xml-graphics-cve-2022-42890","children":[{"from":"CVE-2022-42890","to":"CVE-2022-44730","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["batik-script/src/main/java/org/apache/batik/script/rhino/RhinoClassShutter.java"],"commits":["https://github.com/apache/xmlgraphics-batik/commit/401aa8595f52d085d40ff5b6b4ac0dd372423082","https://github.com/apache/xmlgraphics-batik/commit/52f7a1ad6e3110ec295a35ffc94410eef085707a","https://github.com/apache/xmlgraphics-batik/commit/64658ccda90deaf6bf5f5b4d4a2ec365fe648bfa","https://github.com/apache/xmlgraphics-batik/commit/f9ae69233eadfbd392a4a08a55618f97343b467c"],"basis":"shared function","functions":["Foundation","test"]}]}],"packageHistory":[{"cve":"CVE-2022-38398","published":"2022-09-22","fixed":"1.15","kev":false,"link":{"from":"CVE-2022-38398","to":"CVE-2022-42890","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.xmlgraphics:batik-bridge","fromFixed":"1.15","toFixed":"1.16","daysApart":33}]}},{"cve":"CVE-2022-38648","published":"2022-09-22","fixed":"1.15","kev":false},{"cve":"CVE-2022-42890","published":"2022-10-25","fixed":"1.16","kev":false},{"cve":"CVE-2022-44729","published":"2023-08-22","fixed":"1.17","kev":false,"link":{"from":"CVE-2022-42890","to":"CVE-2022-44729","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.xmlgraphics:batik-bridge","fromFixed":"1.16","toFixed":"1.17","daysApart":301},{"kind":"similar","provenance":"machine","score":0.72,"basis":"same package + description similarity"}]}}],"package":"Maven:org.apache.xmlgraphics:batik-bridge"}}