CVE-2022-44730
Medium · 4.4CVSS
4.4
EPSS
0.9%
Published
Aug 22, 2023
CISA due date
—
Cloudanix analysis
A problem in graphics handling software could allow attackers to secretly reach and steal internal information when certain image files are processed.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- SSRF
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Server-Side Request Forgery allowing a malicious SVG processed by vulnerable Batik to probe internal resources and exfiltrate user profile or data directly to an attacker-controlled URL.
Why it matters to the business
Risk of internal data leakage and unauthorized probing of services, potentially exposing sensitive information without requiring elevated privileges or direct system access; low prevalence reduces widespread urgency but still requires patching in dependent projects.
How an attack unfolds
An attacker crafts a malicious SVG containing SSRF payloads targeting internal endpoints or user data; the SVG is supplied to an application using the vulnerable Batik library for processing or rendering; Batik executes the embedded requests, sending probed data as parameters to the attacker's URL.
How to fix it
Upgrade affected components to the fixed commit 3689e1cd58ec4f06abee836af34889d6ce474571 or later; ensure Apache Batik is updated beyond version 1.16 and sanitize or restrict SVG inputs before processing.
How to confirm the fix worked
Confirm dependency versions no longer include Batik 1.16; test SVG processing with known SSRF payloads to verify requests are blocked; review commit history for the applied patch.
Typical attack path
- Craft malicious SVG embedding external entity references or image loads pointing to internal profile/data endpoints
- Deliver the SVG to the target application for Batik-based processing
- Trigger SVG rendering or parsing in the vulnerable library
- Exfiltrate captured internal data via outbound requests to attacker-controlled destination
How to detect it
Inspect server logs for unexpected outbound HTTP requests originating from SVG processing routines; look for Batik stack traces or errors associated with external resource fetches; correlate with application events handling user-supplied graphics.
What your security team should do
- Prioritize upgrade of all Batik-dependent libraries to the fixed commit
- Implement input validation and sandboxing for SVG uploads or processing
- Monitor application logs for anomalous outbound connections during image handling
- Review ecosystem dependents for similar exposure given the library's usage
The record
Server-Side Request Forgery (SSRF) vulnerability in Apache Software Foundation Apache XML Graphics Batik.This issue affects Apache XML Graphics Batik: 1.16. A malicious SVG can probe user profile / data and send it directly as parameter to a URL.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Maven | org.apache.xmlgraphics:batik-script | 1.0 | 1.17 |
| Debian:10 | batik | 0 | 1.10-2+deb10u3 |
| Debian:11 | batik | 0 | 1.12-4+deb11u2 |
| Debian:12 | batik | 0 | 1.16+dfsg-1+deb12u1 |
| Debian:13 | batik | 0 | 1.17+dfsg-1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP5 | xmlgraphics-batik | 0 | 1.17-150200.4.7.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | xmlgraphics-batik | 0 | 1.17-2.7.1 |
| Ubuntu:18.04:LTS | batik | 0 | No fix |
| Ubuntu:20.04:LTS | batik | 0 | No fix |
| Ubuntu:22.04:LTS | batik | 0 | No fix |
| Ubuntu:24.04:LTS | batik | 0 | No fix |
| Ubuntu:24.10 | batik | 0 | No fix |
| Ubuntu:25.04 | batik | 0 | No fix |
| Ubuntu:25.10 | batik | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | batik | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | batik | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | batik | 0 | No fix |
| maven | org.apache.xmlgraphics/batik-script | 1.0 | 1.17 |
| openSUSE:Leap 15.5 | xmlgraphics-batik | 0 | 1.17-150200.4.7.1 |
Related vulnerabilities
- CVE-2022-44729 Server-Side Request Forgery (SSRF) vulnerability in Apache Software Foundation Apache XML… Also affects batik
- CVE-2022-41704 A vulnerability in Batik of Apache XML Graphics allows an attacker to run untrusted Java… Also affects batik
- CVE-2017-5662 In Apache Batik before 1.9, files lying on the filesystem of the server which uses batik… Also affects batik
- CVE-2015-0250 XML external entity (XXE) vulnerability in the SVG to (1) PNG and (2) JPG conversion… Also affects batik
- CVE-2024-28168 Improper Restriction of XML External Entity Reference ('XXE') vulnerability in Apache XML… Also affects xmlgraphics-batik
- CVE-2026-114730 Roundcube Webmail 1.6.14 before 1.6.20 and 1.7.0 before 1.7.5 is affected by a… CWE-918
- CVE-2026-87953 Server-Side Request Forgery (SSRF) vulnerability in Drupal SAML SSO - Service Provider… CWE-918
- CVE-2026-114634 WWBN AVideo before 29.4.0 contains a blind server-side request forgery vulnerability in… CWE-918