ADVISORIES

Vulnerability

CVE-2022-42890

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.

13 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • ALAS2-2023-1966

    Amazon Linux 2 2017.12 - ALAS2-2023-1966: important priority package update for batik

    Important CVE-2020-11987CVE-2022-38398CVE-2022-38648CVE-2022-40146 Amazon Linux Updated 7 March 2023
  • DEBIAN-CVE-2022-42890

    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…

    CVE-2022-42890 Debian Updated 20 November 2026
  • DLA-3169-1

    batik - security update

    CVE-2022-41704CVE-2022-42890 Debian Updated 20 November 2026
  • DSA-5264-1

    batik - security update

    CVE-2022-41704CVE-2022-42890 Debian Updated 20 November 2026
  • GHSA-rwqr-m72q-v6cm

    Untrusted code execution in Apache XML Graphics Batik

    High CVE-2022-42890 Maven Updated 24 September 2025
  • OESA-2023-1050

    batik security update

    High CVE-2022-41704CVE-2022-42890 openEuler Updated 18 August 2026
  • OESA-2023-1051

    batik security update

    High CVE-2022-41704CVE-2022-42890 openEuler Updated 18 August 2026
  • OESA-2023-1057

    batik security update

    High CVE-2022-41704CVE-2022-42890 openEuler Updated 18 August 2026
  • OESA-2023-1060

    batik security update

    High CVE-2022-41704CVE-2022-42890 openEuler Updated 18 August 2026
  • SUSE-SU-2024:0777-1

    Security update for xmlgraphics-batik

    CVE-2017-5662CVE-2019-17566CVE-2020-11987CVE-2022-38398 SUSE Updated 4 February 2026
  • SUSE-SU-2024:0808-1

    Security update for xmlgraphics-batik

    CVE-2022-41704CVE-2022-42890CVE-2022-44729CVE-2022-44730 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-CVE-2022-42890

    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…

    CVE-2022-42890 Ubuntu Updated 17 October 2026
  • USN-6117-1

    batik vulnerabilities

    CVE-2019-17566CVE-2020-11987CVE-2022-38398CVE-2022-38648 Ubuntu Updated 29 June 2026

References