4.8medium
October CMS has Stored XSS via SVG Filter Bypass
- Severity
- 4.8medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-gcqv-f29m-67gr
Description
October is a Content Management System (CMS) and web platform. Versions prior to 3.7.14 and 4.1.10 contain a stored cross-site scripting (XSS) vulnerability in the SVG sanitization logic. The regex pattern used to strip event handler attributes (such as onclick or onload) could be bypassed using a crafted payload that exploits how the pattern matches attribute boundaries, allowing malicious SVG files to be uploaded through the Media Manager with embedded JavaScript. Exploitation could lead to privilege escalation if a superuser views or embeds the malicious SVG, and requires authenticated backend access with media upload permissions. The SVG must be viewed or embedded in a page for the payload to trigger. This issue has been fixed in versions 3.7.14 and 4.1.10.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| octobercms october | < 3.7.14, >= 4.0.0, < 4.1.10, up to 3.7.13, from 4.0.0 up to 4.1.9 | CVE List, NVD |
| october/rain (Packagist) | from 4.0.0 before 4.1.10, before 3.7.14 | GitHub Advisory Database |
All scores
| GitHub_M | 4.8medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| GitHub | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| NVD | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
October is a Content Management System (CMS) and web platform. Versions prior to 3.7.14 and 4.1.10 contain a stored cross-site scripting (XSS) vulnerability in the SVG sanitization logic. The regex pattern used to strip event handler attributes (such as onclick or onload) could be bypassed using a crafted payload that exploits how the pattern matches attribute boundaries, allowing malicious SVG files to be uploaded through the Media Manager with embedded JavaScript. Exploitation could lead to privilege escalation if a superuser views or embeds the malicious SVG, and requires authenticated backend access with media upload permissions. The SVG must be viewed or embedded in a page for the payload to trigger. This issue has been fixed in versions 3.7.14 and 4.1.10.
GitHub Advisory Database
A stored cross-site scripting (XSS) vulnerability was identified in the SVG sanitization logic. The regex pattern used to strip on* event handler attributes could be bypassed using a crafted payload that exploits how the pattern matches attribute boundaries.
Impact
- Stored XSS via malicious SVG files uploaded through the Media Manager
- Could allow privilege escalation if a superuser views or embeds the malicious SVG
- Requires authenticated backend access with media upload permissions (
media.library.create) - SVG must be viewed or embedded in a page to trigger
Patches
The vulnerability has been patched in v3.7.14 and v4.1.10. All users are encouraged to upgrade to the latest patched version.
Workarounds
If upgrading immediately is not possible:
- Disable SVG uploads by adding
svgto the blocked extensions in media configuration - Set
media.clean_vectorstotruein configuration (enabled by default)
References
- Reported by Pentest-Tools.com
NVD (es)
October es un Sistema de Gestión de Contenidos (CMS) y plataforma web. Las versiones anteriores a la 3.7.14 y 4.1.10 contienen una vulnerabilidad de cross-site scripting (XSS) almacenada en la lógica de saneamiento de SVG. El patrón de expresiones regulares utilizado para eliminar atributos de gestor de eventos (como onclick o onload) podría ser eludido utilizando una carga útil diseñada que explota cómo el patrón coincide con los límites de los atributos, permitiendo que archivos SVG maliciosos sean cargados a través del Gestor de Medios con JavaScript incrustado. La explotación podría conducir a una escalada de privilegios si un superusuario visualiza o incrusta el SVG malicioso, y requiere acceso autenticado al backend con permisos de carga de medios. El SVG debe ser visualizado o incrustado en una página para que la carga útil se active. Este problema ha sido solucionado en las versiones 3.7.14 y 4.1.10.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-25133 changed 2026-04-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gcqv-f29m-67gr changed 2026-05-08 | CC-BY-4.0 |
| NVD | CVE-2026-25133 changed 2026-07-25 | Public domain |