CVE-2025-27801
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)
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Authenticated WebEditor users can upload malicious SVG files to Optimizely Episerver CMS, leading to stored XSS when the preview image is viewed.
Vulnerability
Overview
CVE-2025-27801 is a stored cross-site scripting (XSS) vulnerability in the Optimizely Episerver Content Management System (CMS) affecting the media selection preview functionality. The root cause is that ContentReference properties used in the CMS 'Edit' section allow authenticated users to upload documents, including SVG files. The upload service does not sanitize or restrict SVG files, which can contain embedded JavaScript code [3].
Exploitation
Prerequisites
To exploit this vulnerability, an attacker must be authenticated with at least the 'WebEditor' role. The attacker uploads a crafted SVG file containing malicious JavaScript code to a ContentReference property. When any user (including administrators or editors) visits the direct URL to the preview image of that uploaded file, the embedded script executes in their browser context [1][2][3].
Impact
Successful exploitation allows the attacker to execute arbitrary JavaScript in the victim's browser. This can lead to session hijacking, defacement, or theft of sensitive information displayed in the CMS interface. The attack does not require any user interaction beyond viewing the preview URL, and the injected payload persists in the system until removed [3].
Mitigation
The vendor, Optimizely, has released patched packages. For version 11.x, update EPiServer.CMS.Core to at least 11.21.4 and EPiServer.CMS.UI to at least 11.37.5. For version 12.x, update EPiServer.CMS.Core to at least 12.22.1 and EPiServer.CMS.UI to at least 11.37.3 [1][2][3]. Organizations are strongly advised to apply these patches immediately.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
3<11.37.3+ 1 more
- (no CPE)range: <11.37.3
- (no CPE)range: <11.37.5 (11.X) / <11.37.3 (12.X)
- Range: 11.X: EPiServer.CMS.Core <11.21.4 with EPiServer.CMS.UI <11.37.5; 12.X: EPiServer.CMS.Core <12.22.1 with EPiServer.CMS.UI <11.37.3
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4News mentions
0No linked articles in our index yet.