Cross-site scripting in October CMS - #VU158938

 

Cross-site scripting in October CMS - #VU158938

Published: November 3, 2026


Vulnerability identifier: #VU158938
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary JavaScript in a backend user's browser within the backend origin.

The vulnerability exists due to improper neutralization of client-supplied filename extensions in OctoberRainDatabaseAttachFile::getDiskName() when generating attachment disk names that downstream renderers concatenate into HTML attributes without encoding. A remote user can upload a valid PNG with a crafted filename such as avatar.x" onerror="document.title=1337 to execute JavaScript when a backend user views a page that renders the attachment URL without escaping.


Affected software

October CMS

Remediation

Install security update from vendor's website.

October CMS - addressed in versions 3.7.17, 4.3.5

External References

Related Security Bulletins