# CVE-2022-40146: Jar url should be blocked by DefaultScriptSecurity

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 7.92%, higher than 94% of CVEs (2026-12-01)
- Published: 2022-09-22T00:00:00.000Z
- Modified: 2026-06-17T05:01:01.923Z
- Also known as: GHSA-h4qg-p7r2-cpg3
- Weaknesses: CWE-918
- Assigned by: apache

## Description

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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache XML Graphics: Batik 1.14
- org.apache.xmlgraphics:batik (Maven): from 1.0 before 1.15
- apache batik: 1.14
- debian debian_linux: 10.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://lists.apache.org/thread/hxtddqjty2sbs12y97c8g7xfh17jzxsx> (mailing-list, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00021.html> (mailing-list, web)
- <https://security.gentoo.org/glsa/202401-11> (vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00006.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-40146> (advisory)
- <https://github.com/apache/xmlgraphics-batik> (package)
- <https://issues.apache.org/jira/browse/BATIK-1335> (web)

## Sources

- CVE List: [CVE-2022-40146](https://www.cve.org/CVERecord?id=CVE-2022-40146), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-h4qg-p7r2-cpg3](https://github.com/advisories/GHSA-h4qg-p7r2-cpg3), CC-BY-4.0, modified 2025-11-03
- NVD: [CVE-2022-40146](https://nvd.nist.gov/vuln/detail/CVE-2022-40146), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-40146 · Whole record: https://cve.day/CVE-2022-40146.json · Rebuilt by cve.day 2026-11-25T22:58:15.202Z
