{"id":"GHSA-rwqr-m72q-v6cm","summary":"Untrusted code execution in Apache XML Graphics Batik","details":"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.","aliases":["CVE-2022-42890"],"modified":"2025-09-24T21:26:51.423780Z","published":"2022-10-25T19:00:29Z","database_specific":{"cwe_ids":["CWE-918"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-10-25T23:10:03Z","nvd_published_at":"2022-10-25T17:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42890"},{"type":"WEB","url":"https://github.com/apache/xmlgraphics-batik/commit/401aa8595f52d085d40ff5b6b4ac0dd372423082"},{"type":"WEB","url":"https://github.com/apache/xmlgraphics-batik/commit/52f7a1ad6e3110ec295a35ffc94410eef085707a"},{"type":"WEB","url":"https://github.com/apache/xmlgraphics-batik/commit/eada57c716a2757579d53017f8b2aeadaad20edd"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/BATIK-1345"},{"type":"WEB","url":"https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202401-11"},{"type":"WEB","url":"https://www.debian.org/security/2022/dsa-5264"},{"type":"WEB","url":"https://xmlgraphics.apache.org/security.html"},{"type":"WEB","url":"http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2022/10/25/3"}],"affected":[{"package":{"name":"org.apache.xmlgraphics:batik","ecosystem":"Maven","purl":"pkg:maven/org.apache.xmlgraphics/batik"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16"}]}],"versions":["1.10","1.11","1.12","1.13","1.14","1.15","1.9.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-rwqr-m72q-v6cm/GHSA-rwqr-m72q-v6cm.json"}},{"package":{"name":"org.apache.xmlgraphics:batik-bridge","ecosystem":"Maven","purl":"pkg:maven/org.apache.xmlgraphics/batik-bridge"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16"}]}],"versions":["1.10","1.11","1.12","1.13","1.14","1.15","1.6.1","1.7","1.8","1.9","1.9.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-rwqr-m72q-v6cm/GHSA-rwqr-m72q-v6cm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}