CVE-2025-40892CWE-79

Stored Cross-Site Scripting (XSS) in Reports in Guardian/CMC before 25.5.0

High · published December 18, 2025

CVSS v4.0
7.1
EPSS
0%
Percentile
16.2
In the wild
Unconfirmed
What it is

⚡ An authenticated user could craft a report that turns into a digital booby trap! This Stored XSS vulnerability lets attackers slide dangerous JavaScript right into a victim's browser — all thanks to improper input validation. 🔥 Think of it like a chef sneaking in a harmful ingredient into a popular recipe. The unsuspecting diner, who trusts the chef, unknowingly consumes the dish and gets sick, allowing the chef to wreak havoc on their health! If exploited, the attacker could modify any application data as if they were the victim, disrupt the application’s availability, and gain access to sensitive information they shouldn’t have access to. This kind of malicious behavior can be absolutely devastating for users and organizations alike!

Put simply

Think of it like a chef sneaking in a harmful ingredient into a popular recipe. The unsuspecting diner, who trusts the chef, unknowingly consumes the dish and gets sick, allowing the chef to wreak havoc on their health! This Stored Cross-Site Scripting vulnerability arises from the failure to properly validate input parameters when creating reports. If an attacker defines a malicious report or tricks a victim into importing one, it executes harmful JavaScript within the victim's browser, leading to unauthorized actions.

What to do

If exploited, the attacker could modify any application data as if they were the victim, disrupt the application’s availability, and gain access to sensitive information they shouldn’t have access to. This kind of malicious behavior can be absolutely devastating for users and organizations alike! To protect against this, it's crucial to sanitize and validate all user inputs in the reporting functionality. Ensure that proper output encoding is implemented before displaying data in the browser and conduct a thorough code review to identify any other potential vulnerabilities. 🛡️ You've got this! With these steps, you can secure your application and keep those pesky attackers at bay! 😊

The record
Technical detail
CVSS v4.0
7.1 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:H/VA:H/SC:L/SI:L/SA:L
EPSS
0.00255 · 16.2th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-12-18T13:16Z
EPSS history
Timeline
  • 18 DEC 13:16Z
    Stored Cross-Site Scripting (XSS) in Reports in Guardian/CMC before 25.5.0
    cvelistv5