CVE-2025-61674 October CMS Vulnerable to Stored XSS via Editor and Branding Styles

Medium 6.1 Published Updated

Attackers with editor permissions can inject malicious scripts into backend stylesheets, leading to arbitrary code execution for all backend users.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-61674?

CVE-2025-61674 is a medium-severity cross-site scripting vulnerability in Octobercms October, published on 10 Jan 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

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) vulnerability was identified in October CMS backend configuration forms. A user with the Global Editor Settings permission could inject malicious HTML/JS into the stylesheet input at Markup Styles. 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.

Weakness: CWE-79

Which versions are affected by CVE-2025-61674?

4 open source packages ship an affected version, including october/system. It affects 1 product.

PackageAffectedFixed in
october/system PackagistAll versions3.7.13
october/system PackagistAll versions3.7.13
october/system PackagistFrom 4.0.04.0.12
october/system PackagistFrom 4.0.04.0.12

Products include Octobercms October.

How do I fix CVE-2025-61674?

Upgrade october/system to a fixed version for your release line: 3.7.13 or 4.0.12.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-61674 being exploited?

There is no known exploitation of CVE-2025-61674 in the wild and no public exploit code.

All Octobercms October vulnerabilities

Sources

Also known as GHSA-gxxc-m74c-f48x.

Is CVE-2025-61674 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free