Cross-site scripting in October CMS - #VU158940
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote privileged user to execute arbitrary JavaScript in another backend user's session, disclose sensitive information, and perform unauthorized actions with the victim's permissions.
The vulnerability exists due to improper neutralization of script content in the Mail Templates and Mail Layouts preview component when rendering stored template HTML through an unsandboxed iframe's srcdoc attribute. A remote privileged user can save a template containing <script> code using the mail.templates permission and induce another backend user to open it, causing the automatically loaded preview to execute the code in the backend origin, access the parent page's CSRF token, and issue requests using the victim's session.