Skip to content

← Public intelligence

Maven package

org.apache.xmlgraphics:batik

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

9 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.5MavenPublished

    Untrusted code execution in Apache XML Graphics Batik

    CVE-2022-42890 · GHSA-rwqr-m72q-v6cm

    Affected
    • Maven org.apache.xmlgraphics:batik < 1.16
    Fixed in
    1.16· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.16 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. High, CVSS 7.5MavenPublished

    Apache XML Graphics Batik vulnerable to code execution via SVG.

    CVE-2022-41704 · GHSA-r29w-r9ph-vm76

    Affected
    • Maven org.apache.xmlgraphics:batik < 1.16
    Fixed in
    1.16· Vendor fix available
    Issue
    A vulnerability in Batik of Apache XML Graphics allows an attacker to run untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16.

    Recommended action: Upgrade to 1.16 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. High, CVSS 7.5MavenPublished

    Apache Batik vulnerable to Server-Side Request Forgery

    CVE-2022-40146 · GHSA-h4qg-p7r2-cpg3

    Affected
    • Maven org.apache.xmlgraphics:batik >= 1.0, < 1.15
    Fixed in
    1.15· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.15 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Medium, CVSS 5.3MavenPublished

    Apache Batik vulnerable to Server-Side Request Forgery

    CVE-2022-38648 · GHSA-53jm-3hc9-fqqc

    Affected
    • Maven org.apache.xmlgraphics:batik < 1.15
    Fixed in
    1.15· Vendor fix available
    Issue
    Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to fetch external resources. This issue affects Apache XML Graphics Batik Bridge versions 1.14 and below.

    Recommended action: Upgrade to 1.15 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. Medium, CVSS 5.3MavenPublished

    Apache Batik Server-Side Request Forgery

    CVE-2022-38398 · GHSA-c5xv-qc8p-mh2v

    Affected
    • Maven org.apache.xmlgraphics:batik >= 1.14, < 1.15
    Fixed in
    1.15· Vendor fix available
    Issue
    Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to load a url thru the jar protocol. This issue affects Apache XML Graphics Batik 1.14.

    Recommended action: Upgrade to 1.15 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. UnratedMavenPublished

    Improper Input Validation in Apache Batik

    CVE-2015-0250 · GHSA-wfw6-mmmp-87xm

    Affected
    • Maven org.apache.xmlgraphics:batik >= 1.0, < 1.8
    Fixed in
    1.8· Vendor fix available
    Issue
    XML external entity (XXE) vulnerability in the SVG to (1) PNG and (2) JPG conversion classes in Apache Batik 1.x before 1.8 allows remote attackers to read arbitrary files or cause a denial of service via a crafted SVG file.

    Recommended action: Upgrade to 1.8 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. Critical, CVSS 9.8MavenPublished

    Deserialization of Untrusted Data in Apache Batik

    CVE-2018-8013 · GHSA-25gw-4pcc-45cf

    Affected
    • Maven org.apache.xmlgraphics:batik >= 1.0, <= 1.9.1
    Fixed in
    1.10· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.10 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. High, CVSS 7.3MavenPublished

    Improper Restriction of XML External Entity Reference in Apache Batik

    CVE-2017-5662 · GHSA-qwgx-59jw-qfg9

    Affected
    • Maven org.apache.xmlgraphics:batik < 1.9
    Fixed in
    1.9· Vendor fix available
    Issue
    In Apache Batik before 1.9, files lying on the filesystem of the server which uses batik can be revealed to arbitrary users who send maliciously formed SVG files. The file types that can be shown depend on the user context in which the exploitable application is running. If the user is root a full compromise of the server - including confidential or sensitive files - would be possible. XXE can also be used to attack the availability of the server via denial of service as the references within a xml document can trivially trigger an amplification attack.

    Recommended action: Upgrade to 1.9 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. High, CVSS 7.5MavenPublished

    Server-side request forgery (SSRF) in Apache Batik

    CVE-2019-17566 · GHSA-cmx4-p4v5-hmr5

    Affected
    • Maven org.apache.xmlgraphics:batik < 1.13
    Fixed in
    1.13· Vendor fix available
    Issue
    Apache Batik is vulnerable to server-side request forgery, caused by improper input validation by the "xlink:href" attributes. By using a specially-crafted argument, an attacker could exploit this vulnerability to cause the underlying server to make arbitrary GET requests.

    Recommended action: Upgrade to 1.13 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →