{"id":"CVE-2025-61676","aliases":["CVE-2025-61676","GHSA-wvpq-h33f-8rp6"],"related":[],"kind":"vulnerability","state":"published","title":"October CMS Vulnerable to Stored XSS via Branding Styles","summary":"October is a Content Management System (CMS) and web platform. Prior to versions 3.7.13 and 4.0.12, a cross-site scripting (XSS) vulnerabilities was identified in October CMS backend configuration forms. A user with the Customize Backend Styles permission could inject malicious HTML/JS into the stylesheet input at Styles from Branding & Appearance settings. A specially crafted input could break out of the intended <style> context, allowing arbitrary script execution across backend pages for all users. This issue has been patched in versions 3.7.13 and 4.0.12.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"October is a Content Management System (CMS) and web platform. Prior to versions 3.7.13 and 4.0.12, a cross-site scripting (XSS) vulnerabilities was identified in October CMS backend configuration forms. A user with the Customize Backend Styles permission could inject malicious HTML/JS into the stylesheet input at Styles from Branding & Appearance settings. A specially crafted input could break out of the intended <style> context, allowing arbitrary script execution across backend pages for all users. This issue has been patched in versions 3.7.13 and 4.0.12.","source":"cvelist"},{"lang":"en","text":"A cross-site scripting (XSS) vulnerabilities was identified in October CMS backend configuration forms:\n\n- **Branding and Appearances Styles**  \n   A user with the `Customize Backend Styles` permission could inject malicious HTML/JS into the stylesheet input at  \n   *Settings → Branding & Appearance → 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 `Customize Backend Styles` 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)**","format":"markdown","source":"ghsa"},{"lang":"es","text":"October es un Sistema de Gestión de Contenidos (CMS) y una plataforma web. Antes de las versiones 3.7.13 y 4.0.12, se identificó una vulnerabilidad de cross-site scripting (XSS) en los formularios de configuración del backend de October CMS. Un usuario con el permiso Customize Backend Styles podría inyectar HTML/JS malicioso en la entrada de la hoja de estilos en Styles desde la configuración de Branding &amp; Appearance. Una entrada especialmente diseñada podría salirse del contexto","source":"nvd"}],"published":"2026-01-09T20:12:24.000Z","modified":"2026-06-17T09:50:45.817Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 4.0.0, < 4.0.12","status":"affected"},{"version":"< 3.7.13","status":"affected"}],"vendor":"octobercms","product":"october","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.7.13"}],"ecosystem":"Packagist","package":"october/system","purl":"pkg:composer/october/system","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.0.12"}],"ecosystem":"Packagist","package":"october/system","purl":"pkg:composer/october/system","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.7.13"},{"status":"affected","introduced":"4.0.0","fixed":"4.0.12"}],"vendor":"octobercms","product":"october","cpe":"cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/octobercms/october/security/advisories/GHSA-wvpq-h33f-8rp6","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61676","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/octobercms/october","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-01-12T17:34:07.235Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-61676","url":"https://www.cve.org/CVERecord?id=CVE-2025-61676","licence":"CVE Terms of Use","modified":"2026-01-12T17:34:13.595Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wvpq-h33f-8rp6","url":"https://github.com/advisories/GHSA-wvpq-h33f-8rp6","licence":"CC-BY-4.0","modified":"2026-02-03T03:16:16.602Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-61676","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61676","licence":"Public domain","modified":"2026-06-17T09:50:45.817Z"}],"updatedAt":"2026-11-25T22:59:10.488Z","epss":{"score":0.00274,"percentile":0.21152,"date":"2026-12-01T12:00:22.000Z"}}