Cross-site scripting in October CMS - #VU156191
Published: October 19, 2026
Vulnerability details
The vulnerability allows a remote privileged user to execute arbitrary JavaScript in the application origin when a victim opens a malicious SVG asset URL.
The vulnerability exists due to improper sanitization in the October CMS Editor module's editorRenameFileOrDirectory handler when renaming a non-SVG file to an SVG file. A remote privileged user can use the editor.cms_assets permission to upload malicious SVG content under an allowed non-SVG extension, rename the file to .svg without invoking Html::cleanVector, and induce a victim to open the public theme asset URL to execute arbitrary JavaScript in the application origin.