Read the docs
TI-2022-20886 Aliases CVE-2022-42890GHSA-rwqr-m72q-v6cm

Apache Batik prior to 1.16 allows RCE via scripting

Priority LOW 39CWE-918Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 2 fixed, 5 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-918 and the CVSS impact.

Summary

A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16.

Why it matters now

EPSS 0.03355 88th percentileScored 2026-11-07
Fix Partial org.apache.xmlgraphics:batik (Maven): 1.16org.apache.xmlgraphics:batik-bridge (Maven): 1.16Red Hat: 2 advisoriesRed Hat: 2 fixed, 5 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache XML GraphicsBatik – 1.15—No fix listedCNA
—org.apache.xmlgraphics:batik (Maven)before 1.161.16Patch availableGHSA-rwqr-m72q-v6cm
—org.apache.xmlgraphics:batik-bridge (Maven)before 1.161.16Patch availableGHSA-rwqr-m72q-v6cm
  • Apache XML Graphics VendorApache Affected Batik – 1.15 Fixed in — No fix listed CNA
  • org.apache.xmlgraphics:batik (Maven) Vendor— Affected before 1.16 Fixed in 1.16 Patch available GHSA-rwqr-m72q-v6cm
  • org.apache.xmlgraphics:batik-bridge (Maven) Vendor— Affected before 1.16 Fixed in 1.16 Patch available GHSA-rwqr-m72q-v6cm

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:apache:batik:*:*:*:*:*:*:*:*1.0 to before 1.16VulnerableApache
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*11.0VulnerableDebian
  • cpe:2.3:a:apache:batik:*:*:*:*:*:*:*:* Versions 1.0 to before 1.16 Vulnerable ·Apache
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-rwqr-m72q-v6cm org.apache.xmlgraphics:batik (Maven) Fixed in 1.16 Advisory →
  • Fix · GHSA-rwqr-m72q-v6cm org.apache.xmlgraphics:batik-bridge (Maven) Fixed in 1.16 Advisory →

Red Hat 2 advisories

  • RHSA-2023:3954 Released 2023-06-29 · Red Hat rating Critical
    Red Hat Fuse 7.12 release and security update
    • Red Hat Fuse 7.12
  • RHSA-2023:2100 Released 2023-05-03 · Red Hat rating Important
    Red Hat Integration Camel for Spring Boot 3.20.1 security update
    • RHINT Camel-Springboot 3.20.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    Apache XML Graphics — DSA-5264

    2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2022-20096 Apache Batik prior to 1.16 allows RCE when loading untrusted SVG inputPriority MEDIUM 44

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Decision Manager 7AffectedNo fix planned: Out of support scope
Red Hat Integration Camel K 1AffectedNo fix planned: Will not fix
Red Hat Integration Camel Quarkus 2AffectedNo fix planned: Will not fix
Red Hat JBoss Data Grid 7AffectedNo fix planned: Out of support scope
Red Hat Process Automation 7AffectedNo fix planned: Out of support scope
RHINT Camel-Springboot 3.20.1Fixed RHSA-2023:2100
Red Hat Fuse 7.12Fixed RHSA-2023:3954

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-42890
  2. 2026-10-03 Alias added: GHSA-rwqr-m72q-v6cm

References

  • TI-2018-05790 Deserialization of untrusted data in Apache Batik CVSS 3.0CRITICAL 9.8
  • TI-2020-09647 Improper input validation in Apache Batik CVSS 3.1HIGH 8.2
  • TI-2019-13109 Server-side request forgery in Apache Batik CVSS 3.1HIGH 7.5
  • TI-2015-00219 XML external entity (XXE) vulnerability in the SVG to (1) PNG and (2) JPG conversion… CVSS 2.0MEDIUM 6.4
  • TI-2022-20096 Apache Batik prior to 1.16 allows RCE when loading untrusted SVG input CVSS 3.1HIGH 7.5
  • TI-2022-19036 Jar url should be blocked by DefaultScriptSecurity CVSS 3.1HIGH 7.5
See all 9 →

Sources