CVE-2025-61676: October/system Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-wvpq-h33f-8rp6
CVSS 6.1
CWE-79
Published
Advisory Summary

CVE-2025-61676 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 branding styles. Remediation is available by upgrading affected packages to version 3.7.13, 4.0.12.

CVE-2025-61676 at a Glance

CVE Identifier CVE-2025-61676
GHSA Identifier GHSA-wvpq-h33f-8rp6
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product October/system
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2025-61676

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.

october/system fixed: 3.7.13
Upgrade october/system to 3.7.13
october/system fixed: 4.0.12
Upgrade october/system to 4.0.12
Verify Direct and Transitive Dependencies

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-61676, 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

A cross-site scripting (XSS) vulnerabilities was identified in October CMS backend configuration forms: - **Branding and Appearances Styles** A user with the `Customize Backend Styles` permission could inject malicious HTML/JS into the stylesheet input at *Settings → Branding & Appearance → Styles*. A specially crafted input could break out of the intended `<style>` context, allowing arbitrary script execution across backend pages for all users. --- ### Impact - Persistent XSS across the backend interface. - Exploitable by lower-privileged accounts with the above permissions. - Potential consequences include privilege escalation, session hijacking, and execution of unauthorized actions in victim sessions. --- ### Patches The vulnerability has been patched in **v4.0.12** and **v3.7.13**. Stylesheet inputs are now sanitized to prevent injection of arbitrary HTML/JS. All users are strongly encouraged to upgrade to the latest patched version. --- ### Workarounds If upgrading immediately is not possible: - Restrict the permissions `Customize Backend Styles` to fully trusted administrators only. This reduces exposure but does not fully eliminate risk. --- ### Credits - Reported by **[Nakkouch Tarek](https://github.com/nakkouchtarek)**

CVE-2025-61676 Affected October/system Versions

2 component(s)
Fixed Versions:
3.7.134.0.12
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-61676?
CVE-2025-61676 is a security vulnerability in October/system involving October CMS Vulnerable to Stored XSS via Branding Styles under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which October/system versions are affected?
Affected versions include releases prior to 3.7.13, 4.0.12 across affected packages: october/system.
What version fixes CVE-2025-61676?
Upgrading to 3.7.13, 4.0.12 (or the latest patched release for your respective branch) resolves the vulnerability.
Is october/system affected?
Yes, october/system is affected in releases prior to 3.7.13, 4.0.12. Upgrade your dependency to 3.7.13, 4.0.12 or later.
What is the CVSS score of CVE-2025-61676?
CVE-2025-61676 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2025-61676?
CVE-2025-61676 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check Packagist dependencies for CVE-2025-61676?
Run the dependency tree command: 'inspect dependencies for october/system'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wvpq-h33f-8rp6",
  "modified" : "2026-01-11T14:55:37Z",
  "published" : "2026-01-09T20:12:24Z",
  "aliases" : [ "CVE-2025-61676" ],
  "summary" : "October CMS Vulnerable to Stored XSS via Branding Styles",
  "details" : "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)**",
  "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-wvpq-h33f-8rp6"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-61676"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/octobercms/october"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-09T20:12:24Z",
    "nvd_published_at" : "2026-01-10T04:16:00Z"
  }
}