{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-41704","id":"CVE-2022-41704","title":"Apache Batik prior to 1.16 allows RCE when loading untrusted SVG input","description":"A vulnerability in Batik of Apache XML Graphics allows an attacker to run untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16.","descriptionLong":"A vulnerability in Batik of Apache XML Graphics allows an attacker to run untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16.","published":"2022-10-25T00:00:00.000Z","updated":"2026-10-28T02:30:51.516055441Z","reserved":"2022-09-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["Apache Software Foundation Apache XML Graphics"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache XML Graphics","defaultStatus":null,"versions":[{"version":"Batik","status":"affected","lessThanOrEqual":"1.15","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.xmlgraphics:batik","purl":"pkg:maven/org.apache.xmlgraphics/batik","ranges":["<1.16"],"fixed":["1.16"],"advisory":"GHSA-r29w-r9ph-vm76"}],"cwes":["CWE-918"],"aliases":["GHSA-r29w-r9ph-vm76"],"references":[{"url":"https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf","tags":["x_transferred","Vendor Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/10/25/2","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"https://www.debian.org/security/2022/dsa-5264","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://security.gentoo.org/glsa/202401-11","tags":["vendor-advisory","x_transferred","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41704.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41704","tags":["advisory"]},{"url":"https://github.com/apache/xmlgraphics-batik/commit/905f368b50c2567cf2c4869a0ab596a7b1b5125c","tags":["web"]},{"url":"https://issues.apache.org/jira/browse/BATIK-1338","tags":["web"]},{"url":"https://xmlgraphics.apache.org/security.html","tags":["web"]},{"url":"http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.0312,"epssPercentile":0.88091,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-41704","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41704","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-41704","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r29w-r9ph-vm76","ok":true,"note":"GHSA-r29w-r9ph-vm76"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-41704","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}