CVE-2026-55848: MapFish Print XXE Vulnerability Allows Arbitrary File Reading

org.mapfish.print:print-lib Updated 29 Aug 2026

Summary

28/08/2026
Yes i
High
8.6

CVE-2026-55848: MapFish Print has XXE that allows reading arbitrary files of certain types. Affects org.mapfish.print:print-lib across 4 version ranges.

>= 3.0.0, < 3.28.30 >= 3.29.0, < 3.30.32 >= 3.32.0, < 3.33.16 >= 3.34.0, < 4.0.5

Fixed in 4 releases; the minimum fixed version depends on the release line you run. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

MapFish Print is an open-source library designed for generating print outputs from geographic data. It provides functionalities for handling various map formats and integrating them into printable documents. However, it is susceptible to XML External Entity (XXE) attacks, which can lead to unauthorized access to sensitive files on the server.

Vulnerability Detail

The vulnerability arises from the ability to host a remote script and DTD file, allowing an attacker to exploit the Print feature by sending a malicious URL as the GML layer. When a 404 error occurs, the server reveals the contents of the requested file, potentially exposing sensitive information such as system files or Kubernetes secrets. This XXE vulnerability can also facilitate Server-Side Request Forgery (SSRF) attacks, enabling attackers to access internal URLs.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.0.0, < 3.28.30 3.28.30
  • >= 3.29.0, < 3.30.32 3.30.32
  • >= 3.32.0, < 3.33.16 3.33.16
  • >= 3.34.0, < 4.0.5 4.0.5

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary measure, avoid using the GML layer feature or restrict access to the MapFish Print server to trusted sources only. Additionally, ensure that the server's XML parser is configured to disable external entity processing.

Conclusion

The XXE vulnerability in MapFish Print poses significant risks by allowing unauthorized file access and potential SSRF attacks. It is essential to update to the latest patched versions of the affected packages and implement recommended workarounds to mitigate these risks.

See every vulnerability recorded for org.mapfish.print:print-lib →

Share this vulnerability

FAQ

XXE (XML External Entity) vulnerability allows an attacker to interfere with the processing of XML data, potentially leading to the disclosure of sensitive files or server-side request forgery.

You can use Vulert, which monitors open-source vulnerabilities in your software using just the pom.xml file. Visit the Vulert playground to check if your application is affected.

The risks include unauthorized access to sensitive files, potential exposure of internal services, and the ability to perform SSRF attacks.

Yes, the vulnerability has been patched in versions 3.28.30 and later for the affected packages. It is crucial to update to these versions.

If immediate updates are not possible, implement workarounds such as disabling external entity processing in the XML parser and restricting server access.

Related vulnerabilities

Recent vulnerabilities recorded for org.mapfish.print:print-lib.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.0.0, < 3.28.30 3.28.30
  • >= 3.29.0, < 3.30.32 3.30.32
  • >= 3.32.0, < 3.33.16 3.33.16
  • >= 3.34.0, < 4.0.5 4.0.5

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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