GHSA-6qmh-j78v-ffp7
October CMS has Stored XSS in Backend Editor Markup Classes
Quick fix
GHSA-6qmh-j78v-ffp7 — october/system: upgrade to the fixed version with the command below.
composer require october/system:^4.1.10Details
A stored cross-site scripting (XSS) vulnerability was identified in the Backend Editor Settings. The Markup Classes fields (used for paragraph styles, inline styles, table styles, etc.) did not sanitize input to valid CSS class name characters. Malicious values were rendered unsanitized in Froala editor dropdown menus, allowing JavaScript execution when any user opened a RichEditor.
### Impact - Stored XSS via editor settings rendered in RichEditor dropdowns - Could allow privilege escalation if a superuser opens any RichEditor (e.g., editing a blog post) - Requires authenticated backend access with editor settings permissions - Triggers on routine content editing operations
### 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: - Restrict editor settings permissions to fully trusted administrators only
### References - Reported by [Chris Alupului](https://github.com/neosprings)
Are you affected?
Enter the version of the package you're using.
Affected packages
4.0.0Fixed in: 4.1.10composer require october/system:^4.1.10