Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-64049 Overview
CVE-2025-64049 is a stored cross-site scripting (XSS) vulnerability in the module management component of REDAXO CMS version 5.20.0. An authenticated attacker with high privileges can inject arbitrary JavaScript or HTML through the Output code field when creating or editing a module. The payload is persisted server-side and executes in a victim's browser whenever a user views or edits an article containing a slice that references the compromised module.
The weakness is classified under CWE-79, Improper Neutralization of Input During Web Page Generation.
Critical Impact
Injected scripts execute in the context of authenticated REDAXO backend users, enabling session theft, action forgery against the CMS backend, and modification of rendered article content.
Affected Products
- REDAXO CMS 5.20.0
- Module management component (Output code field)
- Articles and slices that render modules created in the affected version
Discovery Timeline
- 2025-11-25 - CVE-2025-64049 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-64049
Vulnerability Analysis
REDAXO is a PHP-based open-source content management system that structures page content into articles, slices, and modules. Modules in REDAXO define reusable output templates with an Input code and an Output code field. The Output code is rendered when a slice references the module within an article.
In version 5.20.0, the module management component fails to neutralize script content submitted to the Output code field. Supplied markup is stored verbatim and later written to the response without contextual encoding. When an authenticated user opens or edits an article that includes a slice bound to the compromised module, the browser parses and executes the injected payload within the backend origin.
Exploitation requires an account with permission to create or modify modules, so impact is scoped to privilege abuse and lateral action against other backend operators rather than unauthenticated takeover.
Root Cause
The root cause is missing output encoding and insufficient input sanitization on the module Output code field. The CMS treats module Output code as trusted template data, so attacker-controlled HTML and <script> tags are preserved intact. Because the stored content is rendered in a privileged backend context, standard template rendering becomes the sink for the injected payload.
Attack Vector
The attack requires an authenticated REDAXO user with module management privileges. The actor edits or creates a module and inserts a JavaScript payload into the Output code field. A second user, typically another administrator or editor, then views or edits an article that uses a slice bound to this module. The payload executes in that user's authenticated session, where it can read the DOM, issue backend requests, or exfiltrate session data to an attacker-controlled host.
No exploitation code example is published; see the CVE-2025-64049 disclosure document for technical details.
Detection Methods for CVE-2025-64049
Indicators of Compromise
- Module records in the REDAXO database containing <script>, onerror=, onload=, or javascript: strings in Output code fields.
- Outbound requests from backend user browsers to unexpected domains shortly after loading an article edit view.
- Unexpected administrative actions performed by legitimate accounts that correlate with viewing specific articles.
Detection Strategies
- Query the REDAXO modules table and search Output code values for HTML event handlers, script tags, and encoded JavaScript URIs.
- Review backend web server logs for POST requests to module edit endpoints followed by GET requests from other users against affected article edit URLs.
- Enable Content Security Policy (CSP) reporting on the REDAXO backend to surface inline script executions originating from stored templates.
Monitoring Recommendations
- Alert on changes to the rex_module table and record the editing user, timestamp, and diff of the Output code field.
- Monitor backend sessions for anomalous API calls that follow article edit sessions, including user creation and privilege changes.
- Track browser-side CSP violations and JavaScript errors reported from REDAXO backend origins.
How to Mitigate CVE-2025-64049
Immediate Actions Required
- Audit all REDAXO modules on 5.20.0 installations and remove any Output code containing script tags or inline event handlers from untrusted authors.
- Restrict module creation and editing permissions to a minimal set of trusted administrators.
- Rotate backend session cookies and administrator credentials if unauthorized module changes are discovered.
Patch Information
No fixed version is referenced in the NVD entry at the time of publication. Monitor the REDAXO GitHub repository and the vendor advisory disclosure for an official security release and apply it to all 5.20.0 deployments once available.
Workarounds
- Limit the backend module[edit] and module[add] rights in the REDAXO user and role configuration to vetted accounts only.
- Deploy a strict Content Security Policy on the REDAXO backend that forbids inline scripts and restricts script sources to the application origin.
- Place the REDAXO backend behind a web application firewall rule that blocks module submissions containing <script or JavaScript event handler patterns.
# Example restrictive CSP header for the REDAXO backend (configure in web server)
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

