What’s Vulnerable › Vulnerabilities

CVE-2025-27801: Stored Cross-Site Scripting in Episerver Content Management System (CMS) Media Selection Preview

Description

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 products

How to fix

Upgrade to a fixed version: Optimizely Episerver Content Management System (CMS) 11.21.4, 12.22.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-27801 or the next vulnerability affects your stack