CVE-2020-15231:
XSS in Mapfish Print relating to JSONP support
9.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.53729%
CWE
Published
7/7/2020
Updated
1/9/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.mapfish.print:print-lib | maven | < 3.24 | 3.24 |
org.mapfish.print:print-servlet | maven | < 3.24 | 3.24 |
org.mapfish.print:print-standalone | maven | < 3.24 | 3.24 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from JSONP support that allowed untrusted 'jsonp' callback parameters to be reflected in responses without proper sanitization. The commit 89155f2 explicitly removed JSONP support by deleting all references to 'jsonpCallback' parameters and related response-wrapping logic in these methods. The functions
were vulnerable because they directly incorporated user-controlled input into JavaScript
contexts without encoding, enabling cross-site scripting attacks via malicious callback names.