Intel

AIKIDO-2025-10500

Umbraco.Cms is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

40

Medium Risk

This Affects:

DOTNETUmbraco.Cms
15.3.0 - 16.0.0
Fixed in 16.1.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Cross-site scripting (XSS) via unsanitized URL injection in the history.pushState function. The vulnerability occurs when window.location.href is directly embedded into the HTML template without proper encoding, allowing attackers to craft malicious URLs containing JavaScript payloads. When a victim visits a manipulated link (e.g., https://victim.site/?"></script><script>alert(document.cookie)</script>), the payload executes within the application context, enabling session hijacking, data theft, or malicious actions.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

Umbraco.Cms is vulnerable to Cross-site Scripting (XSS) in versions 15.3.0 - 16.0.0.

How to fix this

Upgrade the Umbraco.Cms library to the patch version.