{"id":"CVE-2025-61674","aliases":["GHSA-gxxc-m74c-f48x"],"url":"https://o3.security/vulnerability/CVE-2025-61674","summary":"October CMS Vulnerable to Stored XSS via Editor and Branding Styles","details":"A cross-site scripting (XSS) vulnerabilities was identified in October CMS backend configuration forms:\n\n- **Editor Settings Markup Styles**  \n   A user with the `Global Editor Settings` permission could inject malicious HTML/JS into the stylesheet input at  \n   *Settings → Editor Settings → Markup Styles*.  \n\nA specially crafted input could break out of the intended `<style>` context, allowing arbitrary script execution across backend pages for all users.\n\n---\n\n### Impact\n- Persistent XSS across the backend interface.  \n- Exploitable by lower-privileged accounts with the above permissions.  \n- Potential consequences include privilege escalation, session hijacking, and execution of unauthorized actions in victim sessions.\n\n---\n\n### Patches\nThe vulnerability has been patched in **v4.0.12** and **v3.7.13**.  \nStylesheet inputs are now sanitized to prevent injection of arbitrary HTML/JS.  \n\nAll users are strongly encouraged to upgrade to the latest patched version.\n\n---\n\n### Workarounds\nIf upgrading immediately is not possible:  \n- Restrict the permissions `Global Editor Settings` to fully trusted administrators only.  \n\nThis reduces exposure but does not fully eliminate risk.\n\n---\n\n### Credits\n- Reported by **[Nakkouch Tarek](https://github.com/nakkouchtarek)**","published":"2026-01-10T03:14:11.185Z","modified":"2026-10-28T02:30:28.021116085Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N"},"epss":{"score":0.00276,"percentile":0.20029,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"october/system","fixedVersion":"3.7.13"},{"ecosystem":"Packagist","name":"october/system","fixedVersion":"4.0.12"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61674.json"},{"type":"ADVISORY","url":"https://github.com/octobercms/october/security/advisories/GHSA-gxxc-m74c-f48x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61674"},{"type":"PACKAGE","url":"https://github.com/octobercms/october"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:28.021116085Z"}}