KeygraphLabs · CVE MCP

CVE-2018-8013 · apache

CVE-2018-8013

In Apache Batik 1.x before 1.10, when deserializing subclass of `AbstractDocument`, the class takes a string from the inputStream as the class name which then use it to call the no-arg constructor of the class. Fix was to check the class type before calling newInstance in deserialization.

Published 2018-05-24, last changed 2026-06-17. Weakness: CWE-502.

CVSS
9.8
critical, from NVD
EPSS
18.3%
percentile 97.3%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: org.apache.xmlgraphics:batik 1.10 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2018-05-24Published
2022-05-13Package advisory GHSA-25gw-4pcc-45cf
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 18.3%

Affected packages

AdvisoryPackageFixed in
GHSA-25gw-4pcc-45cforg.apache.xmlgraphics:batik (Maven)1.10

Also known as: GHSA-25gw-4pcc-45cf

Related

CVEPublishedCVSSSummary
CVE-2022-428902022-10-257.5Apache Batik prior to 1.16 allows RCE via scripting
CVE-2022-417042022-10-257.5Apache Batik prior to 1.16 allows RCE when loading untrusted SVG input
CVE-2022-401462022-09-227.5Jar url should be blocked by DefaultScriptSecurity
CVE-2022-386482022-09-225.3PDFTranscoder does not block external resources
CVE-2022-383982022-09-225.3Server-Side Request Forgery Information Disclosure Vulnerability
CVE-2019-175662020-11-127.5same package: org.apache.xmlgraphics:batik (Maven)
CVE-2017-56622017-04-187.3same package: org.apache.xmlgraphics:batik (Maven)
CVE-2015-02502015-03-246.4same package: org.apache.xmlgraphics:batik (Maven)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2018-8013, or call /api/v1/vulnerabilities/CVE-2018-8013. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org