Advisory

GHSA-wvpq-h33f-8rp6

Also known as: 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:

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-01-09 20:12 UTC
Modified
2026-02-03 03:16 UTC

Affected packages and fixes

october/system

Packagist · All systems

Affected

  • introduced 0, fixed 3.7.13 (ecosystem)

Fixed versions

3.7.13

Fix

The export has no generic command for this ecosystem.

october/system

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.0.12 (ecosystem)

Fixed versions

4.0.12

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences