{"id":"CVE-2022-40146","published":"2022-09-22T00:00:00Z","modified":"2025-11-03T19:27:34Z","title":"Jar url should be blocked by DefaultScriptSecurity","vendor":"Apache","product":"Apache XML Graphics","tier":"tail","description":{"text":"Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to access files using a Jar url. This issue affects Apache XML Graphics Batik 1.14.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.07919,"percentile":0.94855,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://lists.apache.org/thread/hxtddqjty2sbs12y97c8g7xfh17jzxsx","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00021.html","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202401-11","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00006.html","tags":[]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":18.97},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2022-11-01","earliestUrl":"https://github.com/cckuailong/CVE-2022-40146_Exploit_Jar","repos":[{"name":"cckuailong/CVE-2022-40146_Exploit_Jar","url":"https://github.com/cckuailong/CVE-2022-40146_Exploit_Jar","stars":31,"created":"2022-11-01"},{"name":"soulfoodisgood/CVE-2022-40146","url":"https://github.com/soulfoodisgood/CVE-2022-40146","stars":0,"created":"2024-07-30"}]},"first":{"date":"2022-11-01","source":"PoC-in-GitHub","url":"https://github.com/cckuailong/CVE-2022-40146_Exploit_Jar"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache XML Graphics","versions":["Batik 1.14"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.xmlgraphics:batik","vulnerableRanges":[">=1.0, <1.15"],"patched":["1.15"],"from":["GHSA-h4qg-p7r2-cpg3"],"provenance":"source"}],"summary":{"text":"The flaw is a Server-Side Request Forgery (SSRF) vulnerability in the Batik component of Apache XML Graphics, which lets requests be made through a Jar URL. The issue affects Apache XML Graphics Batik 1.14, and it allows an attacker to access files via that Jar URL, which should have been blocked by DefaultScriptSecurity. The provided record does not specify the attack vector, required privileges, user interaction, or configuration conditions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:57:23Z"},"euvd":{"id":"EUVD-2022-6834","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-17566","published":"2020-11-12","fixed":"1.13","kev":false,"link":{"from":"CVE-2019-17566","to":"CVE-2022-40146","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.xmlgraphics:batik","fromFixed":"1.13","toFixed":"1.15","daysApart":679}]}},{"cve":"CVE-2022-38398","published":"2022-09-22","fixed":"1.15","kev":false},{"cve":"CVE-2022-38648","published":"2022-09-22","fixed":"1.15","kev":false},{"cve":"CVE-2022-40146","published":"2022-09-22","fixed":"1.15","kev":false},{"cve":"CVE-2022-41704","published":"2022-10-25","fixed":"1.16","kev":false,"link":{"from":"CVE-2022-40146","to":"CVE-2022-41704","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.xmlgraphics:batik","fromFixed":"1.15","toFixed":"1.16","daysApart":33}]}},{"cve":"CVE-2022-42890","published":"2022-10-25","fixed":"1.16","kev":false,"link":{"from":"CVE-2022-40146","to":"CVE-2022-42890","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.xmlgraphics:batik","fromFixed":"1.15","toFixed":"1.16","daysApart":33}]}}],"package":"Maven:org.apache.xmlgraphics:batik"}}