CVE-2025-27406 Icinga Reporting Stored XSS leads to SSRF

High 7.7 Published Updated

Attackers can inject arbitrary JavaScript into reporting templates, enabling XSS and SSRF when templates are previewed or printed.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-27406?

CVE-2025-27406 is a high-severity cross-site scripting vulnerability in icingaweb2-module-reporting, published on 26 Mar 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Icinga Reporting is the central component for reporting related functionality in the monitoring web frontend and framework Icinga Web 2. A vulnerability present in versions 0.10.0 through 1.0.2 allows to set up a template that allows to embed arbitrary Javascript. This enables the attacker to act on behalf of the user, if the template is being previewed; and act on behalf of the headless browser, if a report using the template is printed to PDF. This issue has been resolved in version 1.0.3 of Icinga Reporting. As a workaround, review all templates and remove suspicious settings.

Weakness: CWE-918, CWE-79

Which versions are affected by CVE-2025-27406?

How do I fix CVE-2025-27406?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-27406 being exploited?

There is no known exploitation of CVE-2025-27406 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-27406, GHSA-7qvq-54vm-r7hx, UBUNTU-CVE-2025-27406.

Is CVE-2025-27406 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free