CVE-2025-27802
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.
RTE properties (text fields), which could be used in the "Edit" section of the CMS, allowed the input of arbitrary text. It was possible to input malicious JavaScript code in these properties that would be executed if a user visits the previewed page. 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.
Stored XSS in Optimizely Episerver CMS 'Edit' preview allows authenticated WebEditor users to inject arbitrary JavaScript via RTE text fields.
Vulnerability
CVE-2025-27802 is a stored cross-site scripting (XSS) vulnerability in Optimizely Episerver CMS. The root cause is insufficient sanitization of input within Rich Text Editor (RTE) properties—text fields used in the CMS 'Edit' section. An attacker with at least the 'WebEditor' role can submit arbitrary JavaScript code into these fields. When another user (such as an editor or administrator) visits the previewed page that renders the malicious content, the injected script executes in their browser [3].
Exploitation
The attack requires authentication and the 'WebEditor' role, but does not need any special network position beyond standard CMS access. The attacker interacts with the Edit interface, inserting malicious code into an RTE property. The malicious payload is stored on the server and subsequently served to any user who views the page's preview, without proper validation or encoding [1][3].
Impact
Successful exploitation allows the attacker to execute arbitrary JavaScript in the victim's browser session. Depending on the user's privileges, this could lead to session hijacking, content manipulation, or lateral movement within the CMS. The vulnerability affects CMS instances using affected package versions: EPiServer.CMS.Core <11.21.4 with EPiServer.CMS.UI <11.37.5 (version 11.x), and EPiServer.CMS.Core <12.22.1 with EPiServer.CMS.UI <11.37.3 (version 12.x) [2][3].
Mitigation
The vendor released patched packages for all affected versions. For version 11.x, update to EPiServer.CMS.Core 11.21.4 and EPiServer.CMS.UI 11.37.5. For version 12.x, update to EPiServer.CMS.Core 12.22.1 and EPiServer.CMS.UI 11.37.3. Administrators should install these updates immediately [1][2][3].
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 (version 11) / < 11.37.3 (version 12)
- Range: Version 11: EPiServer.CMS.Core < 11.21.4 with EPiServer.CMS.UI < 11.37.5; Version 12: 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.