CVE-2026-25133: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in octobercms october
OctoberCMS versions prior to 3. 7. 14 and 4. 1. 10 contain a stored cross-site scripting (XSS) vulnerability in the SVG sanitization logic. This vulnerability allows an authenticated user with media upload permissions to upload malicious SVG files containing embedded JavaScript. The flaw arises from a regex pattern that fails to properly strip event handler attributes, enabling crafted payloads to bypass sanitization. Exploitation requires the malicious SVG to be viewed or embedded by a superuser, potentially leading to privilege escalation. The issue has been fixed in versions 3. 7.
AI Analysis
Technical Summary
OctoberCMS's SVG sanitization logic uses a regex pattern intended to remove event handler attributes such as onclick or onload. However, this pattern can be bypassed with crafted payloads that exploit how attribute boundaries are matched, allowing malicious JavaScript to be embedded in SVG files uploaded via the Media Manager. An attacker with authenticated backend access and media upload permissions can upload such SVGs. When a superuser views or embeds the malicious SVG, the embedded script executes, potentially escalating privileges. Fixed in OctoberCMS versions 3.7.14 and 4.1.10.
Potential Impact
The vulnerability allows stored cross-site scripting via malicious SVG uploads, which can lead to privilege escalation if a superuser views or embeds the SVG. The attacker must have authenticated backend access with media upload permissions, limiting the attack surface. The CVSS score is 4.8 (medium severity), reflecting the need for authentication and user interaction for exploitation.
Mitigation Recommendations
Upgrade OctoberCMS to version 3.7.14 or later, or 4.1.10 or later, where this vulnerability has been fixed. Since the issue is resolved in these versions, applying the official patch is the recommended remediation. No additional mitigations are specified or required beyond upgrading.
CVE-2026-25133: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in octobercms october
Description
OctoberCMS versions prior to 3. 7. 14 and 4. 1. 10 contain a stored cross-site scripting (XSS) vulnerability in the SVG sanitization logic. This vulnerability allows an authenticated user with media upload permissions to upload malicious SVG files containing embedded JavaScript. The flaw arises from a regex pattern that fails to properly strip event handler attributes, enabling crafted payloads to bypass sanitization. Exploitation requires the malicious SVG to be viewed or embedded by a superuser, potentially leading to privilege escalation. The issue has been fixed in versions 3. 7.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OctoberCMS's SVG sanitization logic uses a regex pattern intended to remove event handler attributes such as onclick or onload. However, this pattern can be bypassed with crafted payloads that exploit how attribute boundaries are matched, allowing malicious JavaScript to be embedded in SVG files uploaded via the Media Manager. An attacker with authenticated backend access and media upload permissions can upload such SVGs. When a superuser views or embeds the malicious SVG, the embedded script executes, potentially escalating privileges. Fixed in OctoberCMS versions 3.7.14 and 4.1.10.
Potential Impact
The vulnerability allows stored cross-site scripting via malicious SVG uploads, which can lead to privilege escalation if a superuser views or embeds the SVG. The attacker must have authenticated backend access with media upload permissions, limiting the attack surface. The CVSS score is 4.8 (medium severity), reflecting the need for authentication and user interaction for exploitation.
Mitigation Recommendations
Upgrade OctoberCMS to version 3.7.14 or later, or 4.1.10 or later, where this vulnerability has been fixed. Since the issue is resolved in these versions, applying the official patch is the recommended remediation. No additional mitigations are specified or required beyond upgrading.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-01-29T14:03:42.540Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69deab4182d89c981ffdeb86
Added to database: 4/14/2026, 9:01:53 PM
Last enriched: 4/14/2026, 9:17:38 PM
Last updated: 4/15/2026, 6:08:16 AM
Views: 10
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.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.