CVE-2020-15231CWE-79

Cross-site scripting attack in mapfish-print

Critical · published October 2, 2020

CVSS v3.1
9.3
EPSS
1%
Percentile
56.2
In the wild
Unconfirmed
What it is

🔥 A sneaky JSONP feature can turn user input into a gateway for Cross-Site Scripting in mapfish-print before version 3.24! Think of it like a restaurant accepting a takeaway order without checking the ingredients list — one wrong order can poison the entire dinner party! An attacker could inject malicious scripts that run in the context of the user's browser, potentially stealing sensitive data, hijacking sessions, or redirecting users to phishing sites. This could lead to a full-blown security nightmare!

Put simply

Think of it like a restaurant accepting a takeaway order without checking the ingredients list — one wrong order can poison the entire dinner party! This vulnerability allows users to leverage the JSONP support in mapfish-print, enabling them to inject and execute malicious JavaScript in the browser of another user.

What to do

An attacker could inject malicious scripts that run in the context of the user's browser, potentially stealing sensitive data, hijacking sessions, or redirecting users to phishing sites. This could lead to a full-blown security nightmare! Upgrade to mapfish-print version 3.24 or later immediately. Additionally, consider adding input validation and sanitization to any user-generated content to prevent future XSS vulnerabilities. You've got this! Follow these steps, and you'll have your application secured in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00801 · 56.2th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2020-10-02T19:40Z
EPSS history
Timeline
  • 02 OCT 19:40Z
    Cross-site scripting attack in mapfish-print
    cvelistv5