LiveActive security incident?Get immediate response
CVE Record

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Apache Batik 1.14 can mishandle jar URLs during scripted XML graphics processing, allowing server-side requests that may reach local files. Business risk depends on whether Batik processes attacker-controlled SVG/XML content in your applications or packaged software.

Executive priority

Treat this as a focused remediation item for applications handling untrusted graphics or documents. It is not KEV-listed in the provided evidence, but potential local file access makes exposed processing services worth prioritizing.

Technical view

CVE-2022-40146 is a CWE-918 SSRF issue in Apache XML Graphics Batik 1.14. The source description says an attacker can access files using a jar URL because DefaultScriptSecurity should block that URL form.

Likely exposure

Exposure is most likely in Java applications, desktop tools, document pipelines, or distributions using Apache Batik 1.14 to process untrusted SVG/XML input.

Exploitation context

The bundle shows no KEV listing and no cited evidence of active exploitation. Exploitability requires a path for attacker-controlled content to be processed by affected Batik behavior.

Researcher notes

Evidence is limited: no CVSS vector is provided, and the bundle names Batik 1.14 as affected. The key control point is whether DefaultScriptSecurity handles jar URLs safely after updating.

Mitigation direction

  • Identify and replace Apache Batik 1.14 where present.
  • Apply Apache, Debian, Gentoo, or other vendor Batik security updates.
  • Prioritize systems processing untrusted SVG/XML files.
  • Restrict file and network access for Batik processing workloads.
  • Check vendor guidance if no fixed package is available.

Validation and detection

  • Inventory Java dependencies and OS packages for Batik 1.14.
  • Map applications that process user-supplied SVG/XML content.
  • Confirm updated packages are installed where Debian or Gentoo advisories apply.
  • Review dependency lockfiles and transitive Batik inclusions.
  • Verify processing workloads have least-privilege file access.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-918: Information exposure and cloud metadata lookup

Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Cloud metadata behavior lookup

The CVE wording references SSRF or metadata access, so cloud discovery and credential material review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-40146 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Apache Software FoundationApache XML GraphicsBatik 1.14Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-918 · source CWE mapping

Server-Side Request Forgery (SSRF)

Server-Side Request Forgery (SSRF) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.