CVE-2025-27802: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Optimizely Episerver Content Management System (CMS)
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 Analysis
Technical Summary
CVE-2025-27802 is a stored Cross-Site Scripting (XSS) vulnerability identified in Optimizely's Episerver Content Management System (CMS) versions 11.x (prior to 11.21.4 and 11.37.5 for CMS.Core and CMS.UI respectively) and 12.x (prior to 12.22.1 and 11.37.3). The vulnerability arises from improper neutralization of input during web page generation, specifically within Rich Text Editor (RTE) properties used in the CMS's 'Edit' section. Authenticated users with the 'WebEditor' role can input arbitrary text containing malicious JavaScript code into these RTE fields. When other users preview the affected pages, the injected script executes in their browsers, enabling attackers to perform actions such as session hijacking, credential theft, or unauthorized actions within the CMS context. The vulnerability requires authentication with elevated privileges but does not require additional user interaction beyond visiting the previewed page. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required beyond the WebEditor role, and partial impact on confidentiality, integrity, and availability. No public exploits are currently known, but the vulnerability's presence in widely used CMS versions makes it a significant concern for organizations relying on Episerver CMS for content management and web presence.
Potential Impact
For European organizations, this vulnerability can lead to unauthorized execution of malicious scripts within the browsers of CMS users, potentially compromising sensitive session tokens, user credentials, or enabling unauthorized actions within the CMS environment. This can result in data breaches, defacement of websites, or further lateral movement within the organization's network. Given that the vulnerability requires authenticated access with WebEditor privileges, insider threats or compromised editor accounts pose a significant risk. Organizations in sectors such as media, retail, and government that rely heavily on Episerver CMS for their web content management are particularly at risk. The impact extends to brand reputation damage, regulatory non-compliance (e.g., GDPR if personal data is exposed), and operational disruptions. The medium CVSS score reflects moderate risk but should not lead to complacency, especially in environments with multiple users having editing privileges.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately upgrade to the fixed versions of Episerver CMS: 11.21.4 or later for 11.x series and 12.22.1 or later for 12.x series, along with corresponding CMS.UI updates. If immediate patching is not feasible, implement strict input validation and sanitization on RTE fields to neutralize potentially malicious scripts. Limit the number of users with 'WebEditor' or higher privileges and enforce strong authentication mechanisms, including multi-factor authentication (MFA), to reduce the risk of account compromise. Monitor CMS logs for unusual editing activities and preview page accesses. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. Conduct regular security training for CMS users to recognize phishing and social engineering attempts that could lead to credential theft. Finally, perform periodic security assessments and penetration testing focused on CMS components to detect similar vulnerabilities proactively.
Affected Countries
Germany, United Kingdom, France, Netherlands, Sweden, Denmark, Finland, Belgium, Ireland, Italy
CVE-2025-27802: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Optimizely Episerver Content Management System (CMS)
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-Powered Analysis
Technical Analysis
CVE-2025-27802 is a stored Cross-Site Scripting (XSS) vulnerability identified in Optimizely's Episerver Content Management System (CMS) versions 11.x (prior to 11.21.4 and 11.37.5 for CMS.Core and CMS.UI respectively) and 12.x (prior to 12.22.1 and 11.37.3). The vulnerability arises from improper neutralization of input during web page generation, specifically within Rich Text Editor (RTE) properties used in the CMS's 'Edit' section. Authenticated users with the 'WebEditor' role can input arbitrary text containing malicious JavaScript code into these RTE fields. When other users preview the affected pages, the injected script executes in their browsers, enabling attackers to perform actions such as session hijacking, credential theft, or unauthorized actions within the CMS context. The vulnerability requires authentication with elevated privileges but does not require additional user interaction beyond visiting the previewed page. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required beyond the WebEditor role, and partial impact on confidentiality, integrity, and availability. No public exploits are currently known, but the vulnerability's presence in widely used CMS versions makes it a significant concern for organizations relying on Episerver CMS for content management and web presence.
Potential Impact
For European organizations, this vulnerability can lead to unauthorized execution of malicious scripts within the browsers of CMS users, potentially compromising sensitive session tokens, user credentials, or enabling unauthorized actions within the CMS environment. This can result in data breaches, defacement of websites, or further lateral movement within the organization's network. Given that the vulnerability requires authenticated access with WebEditor privileges, insider threats or compromised editor accounts pose a significant risk. Organizations in sectors such as media, retail, and government that rely heavily on Episerver CMS for their web content management are particularly at risk. The impact extends to brand reputation damage, regulatory non-compliance (e.g., GDPR if personal data is exposed), and operational disruptions. The medium CVSS score reflects moderate risk but should not lead to complacency, especially in environments with multiple users having editing privileges.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately upgrade to the fixed versions of Episerver CMS: 11.21.4 or later for 11.x series and 12.22.1 or later for 12.x series, along with corresponding CMS.UI updates. If immediate patching is not feasible, implement strict input validation and sanitization on RTE fields to neutralize potentially malicious scripts. Limit the number of users with 'WebEditor' or higher privileges and enforce strong authentication mechanisms, including multi-factor authentication (MFA), to reduce the risk of account compromise. Monitor CMS logs for unusual editing activities and preview page accesses. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. Conduct regular security training for CMS users to recognize phishing and social engineering attempts that could lead to credential theft. Finally, perform periodic security assessments and penetration testing focused on CMS components to detect similar vulnerabilities proactively.
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- SEC-VLab
- Date Reserved
- 2025-03-07T06:46:34.309Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 68873cacad5a09ad00819c01
Added to database: 7/28/2025, 9:02:36 AM
Last enriched: 11/4/2025, 2:29:01 AM
Last updated: 12/3/2025, 2:48:04 AM
Views: 81
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-13646: CWE-434 Unrestricted Upload of File with Dangerous Type in wpchill Image Gallery – Photo Grid & Video Gallery
HighCVE-2025-13645: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in wpchill Image Gallery – Photo Grid & Video Gallery
HighCVE-2025-13448: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in anastis CSSIgniter Shortcodes
MediumCVE-2025-55181: Excessive Iteration (CWE-834) in Facebook proxygen
MediumCVE-2025-64778: CWE-798 Use of Hard-coded Credentials in Mirion Medical EC2 Software NMIS BioDose
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.