CVE-2022-40146 is a server-side request forgery vulnerability in Apache XML Graphics Batik 1.14. When Batik processes attacker-controlled SVG content, an attacker can cause it to resolve a resource through the Java JAR URL mechanism, enabling access to resources from the server-side processing context.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository provides a proof-of-concept (PoC) exploit for CVE-2022-40146, a vulnerability in Apache Batik that allows SSRF and remote code execution (RCE) via malicious SVG/XML payloads. The exploit demonstrates three main attack vectors: SSRF (causing the server to make requests to attacker-controlled URLs), RCE via remote JAR loading (using the SVG <script> tag to load a Java class from a remote JAR), and RCE via embedded ECMAScript (executing arbitrary commands through Java interop in SVG). The Java code (Poc.java) is used as a payload to be loaded remotely, and it creates a file on the target system to demonstrate code execution. The repository includes markdown files with example HTTP requests and payloads, a Maven build file, and instructions for building and serving the malicious JAR. The exploit targets Apache Batik instances that process untrusted SVG content without proper security controls.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.