CVE-2025-27801: Stored Cross-Site Scripting in Episerver Content Management System (CMS) Media Selection Preview
The Episerver Content Management System (CMS) by Optimizely was affected by multiple Stored Cross-Site Scripting (XSS) vulnerabilities. This allowed an authenticated attacker to execute malicious JavaScript code in the victim's browser.
ContentReference properties, which could be used in the "Edit" section of the CMS, offered an upload functionality for documents. These documents could later be used as displayed content on the page. It was possible to upload SVG files that include malicious JavaScript code that would be executed if a user visited the direct URL of the preview image. Attackers needed at least the role "WebEditor" in order to exploit this issue.
Affected products: Version 11.X: EPiServer.CMS.Core (<11.21.4) with EPiServer.CMS.UI (<11.37.5), Version 12.X: EPiServer.CMS.Core (<12.22.1) with EPiServer.CMS.UI (<11.37.3)
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2025-27801?
CVE-2025-27801 is classified as a high-severity vulnerability due to its potential for remote code execution via stored XSS attacks.
How do I fix CVE-2025-27801?
To mitigate CVE-2025-27801, you should upgrade to the latest patched versions of EPiServer CMS Core and EPiServer CMS UI.
Who is affected by CVE-2025-27801?
CVE-2025-27801 affects users of Optimizely EPiServer CMS Core and EPiServer CMS UI versions prior to the patched releases.
What type of vulnerability is CVE-2025-27801?
CVE-2025-27801 is a Stored Cross-Site Scripting (XSS) vulnerability that allows attackers to inject malicious scripts.
What could be the potential impact of CVE-2025-27801?
The potential impact of CVE-2025-27801 includes unauthorized access to user sessions and execution of malicious JavaScript in victims' browsers.