October Rain has Stored XSS via SVG Filter Bypass
Moderate severity
GitHub Reviewed
Published
Apr 14, 2026
in
octobercms/october
•
Updated Apr 14, 2026
Package
Affected versions
>= 4.0.0, <= 4.1.9
<= 3.7.13
Patched versions
4.1.10
3.7.14
Description
Published by the National Vulnerability Database
Apr 14, 2026
Published to the GitHub Advisory Database
Apr 14, 2026
Reviewed
Apr 14, 2026
Last updated
Apr 14, 2026
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
media.library.create)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:
svgto the blocked extensions in media configurationmedia.clean_vectorstotruein configuration (enabled by default)References
References