CVE-2025-61674: October/system Cross-Site Scripting Vulnerability
MODERATECVE-2025-61674 is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting October/system libraries in the Packagist ecosystem. The issue involves october cms vulnerable to stored xss via editor and branding styles. Remediation is available by upgrading affected packages to version 3.7.13, 4.0.12.
CVE-2025-61674 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N).
How to Fix CVE-2025-61674
To remediate this vulnerability, upgrade all affected October/system dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade october/system to 3.7.13
Upgrade october/system to 4.0.12
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for october/system
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-61674, inspect your project dependencies for October/system:
inspect dependencies for october/system
Analyze the terminal output to locate any version of October/system in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.7.13), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In October/system, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-61674 Affected October/system Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
october/system
|
Packagist |
< 3.7.13
|
3.7.13
|
|
october/system
|
Packagist |
≥ 4.0.0
< 4.0.12
|
4.0.12
|
References
Frequently Asked Questions
What is CVE-2025-61674?
Which October/system versions are affected?
What version fixes CVE-2025-61674?
Is october/system affected?
What is the CVSS score of CVE-2025-61674?
What CWE is associated with CVE-2025-61674?
How can I check Packagist dependencies for CVE-2025-61674?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gxxc-m74c-f48x",
"modified" : "2026-01-11T14:55:29Z",
"published" : "2026-01-09T18:12:58Z",
"aliases" : [ "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)**",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "october/system"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.7.13"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.7.12"
}
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "october/system"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.0.12"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.0.11"
}
} ],
"references" : [ {
"type" : "WEB",
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-09T18:12:58Z",
"nvd_published_at" : "2026-01-10T04:16:00Z"
}
}