Critical Server-Side Request Forgery Vulnerability in Apache Batik Package

batik Updated 03 Oct 2025

Summary

24/02/2021
N/A
Yes i
High
8.2

UBUNTU-CVE-2020-11987: Apache Batik 1.13 is vulnerable to server-side request forgery, caused by improper input validation by the NodePickerPanel. Affects batik versions < 1.7.ubuntu-8ubuntu2.14.04.3+esm1. Fixed in 1.7.ubuntu-8ubuntu2.14.04.3+esm1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache Batik is a powerful toolkit for processing SVG (Scalable Vector Graphics) files in Java. It provides a range of functionalities including rendering, manipulation, and conversion of SVG documents. However, the package has been found to be vulnerable to a server-side request forgery (SSRF) issue, which can lead to unauthorized access to internal resources.

Vulnerability Detail

The vulnerability, identified as CVE-2020-11987, arises from improper input validation in the NodePickerPanel component of Apache Batik. An attacker can exploit this flaw by crafting a malicious argument that forces the server to make arbitrary GET requests. This could potentially expose sensitive information or allow unauthorized actions within the server's environment. The CVSS score for this vulnerability is 8.2, indicating a high severity level.

How To Fix

Minimum fixed version

1.7.ubuntu-8ubuntu2.14.04.3+esm1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade batik

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not feasible, consider implementing network-level controls to restrict access to sensitive internal resources. This can help mitigate the risk of exploitation until the package is updated.

Conclusion

The Apache Batik package has a critical vulnerability (CVE-2020-11987) that can lead to server-side request forgery. It is crucial to update to the latest patched version to protect against potential exploitation. Users are encouraged to utilize tools like Vulert for ongoing vulnerability monitoring.

See every vulnerability recorded for batik →

Share this vulnerability

FAQ

CVE-2020-11987 is a vulnerability in the Apache Batik package that allows for server-side request forgery, potentially leading to unauthorized access to internal resources.

You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading a manifest file like package-lock.json, you can receive real-time alerts. Visit Vulert Scanner to check your application without signup.

Exploitation of this vulnerability can lead to unauthorized access to sensitive data or internal systems, posing significant security risks.

Yes, the patched versions of the Apache Batik package are available for various Ubuntu distributions. It is recommended to update to the latest version.

If immediate updates are not possible, implement network-level restrictions to limit access to sensitive resources until the package can be patched.

Related vulnerabilities

Recent vulnerabilities recorded for batik.

How To Fix

Minimum fixed version

1.7.ubuntu-8ubuntu2.14.04.3+esm1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade batik

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.