CVE-2022-40146 | Jar url should be blocked by DefaultScriptSecurity

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.

Published: 2022-09-22 Last update: 2025-11-03 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-40146 is rated High Risk (69.2/100): CVSS High severity, with high exploitation likelihood (EPSS 47.78%, 98th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +6.56% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-40146

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-08 41.22% 47.78% +6.56%
2 2026-03-04 44.94% 41.22% -3.72%
3 2026-03-01 44.94%

Full EPSS history (40 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-40146

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2022-40146

GitHub Security Advisory for CVE-2022-40146

GHSA-h4qg-p7r2-cpg3 · Severity: high · Ecosystem: maven — Apache Batik vulnerable to Server-Side Request Forgery

OS Trackers for CVE-2022-40146

vendor priority summary link
debian not yet assigned CVE-2022-40146 not yet assigned priority: Debian including 1 source packages (batik), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-40146
gentoo normal CVE-2022-40146: 1 GLSA(s) (202401-11), 1 atom(s) (dev-java/batik); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-40146
redhat medium https://access.redhat.com/security/cve/CVE-2022-40146
suse medium CVE-2022-40146 severity moderate: SUSE including 28 source package names (xmlgraphics-batik-1.15-1.1, xmlgraphics-batik-1.15-150200.4.4.3, …), 81 product×package rows across 21 product lines (SUSE Enterprise Storage 7, SUSE Enterprise Storage 7.1, … (21 product lines)): Fixed 81. https://www.suse.com/security/cve/CVE-2022-40146/
ubuntu medium CVE-2022-40146 medium priority: Ubuntu including 1 source packages (batik), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 6, ignored 4, needs-triage 3. https://ubuntu.com/security/CVE-2022-40146

Affected software / configurations for CVE-2022-40146

Vendor Product Version Raw CPE
apache batik 1.14 cpe:2.3:a:apache:batik:1.14:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

References for CVE-2022-40146

cvelogic Threat Intelligence