Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.xmlgraphics/batik-script
  4. ›
  5. CVE-2022-42890

CVE-2022-42890: Untrusted code execution in Apache XML Graphics Batik

October 25, 2022 (updated June 14, 2023)

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.

References

  • www.openwall.com/lists/oss-security/2022/10/25/3
  • github.com/advisories/GHSA-rwqr-m72q-v6cm
  • github.com/apache/xmlgraphics-batik/commit/401aa8595f52d085d40ff5b6b4ac0dd372423082
  • github.com/apache/xmlgraphics-batik/commit/52f7a1ad6e3110ec295a35ffc94410eef085707a
  • github.com/apache/xmlgraphics-batik/commit/eada57c716a2757579d53017f8b2aeadaad20edd
  • issues.apache.org/jira/browse/BATIK-1345
  • lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly
  • nvd.nist.gov/vuln/detail/CVE-2022-42890
  • xmlgraphics.apache.org/security.html

Code Behaviors & Features

Detect and mitigate CVE-2022-42890 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.16

Fixed versions

  • 1.16

Solution

Upgrade to version 1.16 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Source file

maven/org.apache.xmlgraphics/batik-script/CVE-2022-42890.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:01 +0000.