CVE-2026-25133: October/rain Cross-Site Scripting Vulnerability
MODERATECVE-2026-25133 is a MODERATE (CVSS 4.8) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting October/rain libraries in the Packagist ecosystem. The issue involves october rain has stored xss via svg filter bypass. Remediation is available by upgrading affected packages to version 4.1.10, 3.7.14.
CVE-2026-25133 at a Glance
Security Impact
CVSS: 4.8
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:C/C:L/I:L/A:N).
How to Fix CVE-2026-25133
To remediate this vulnerability, upgrade all affected October/rain 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/rain to 4.1.10
Upgrade october/rain to 3.7.14
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for october/rain
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-25133, inspect your project dependencies for October/rain:
inspect dependencies for october/rain
Analyze the terminal output to locate any version of October/rain in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.10), 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/rain, 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-2026-25133 Affected October/rain Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
october/rain
|
Packagist |
≥ 4.0.0
< 4.1.10
|
4.1.10
|
|
october/rain
|
Packagist |
< 3.7.14
|
3.7.14
|
References
Frequently Asked Questions
What is CVE-2026-25133?
Which October/rain versions are affected?
What version fixes CVE-2026-25133?
Is october/rain affected?
What is the CVSS score of CVE-2026-25133?
What CWE is associated with CVE-2026-25133?
How can I check Packagist dependencies for CVE-2026-25133?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gcqv-f29m-67gr",
"modified" : "2026-05-08T20:41:49Z",
"published" : "2026-04-14T22:29:50Z",
"aliases" : [ "CVE-2026-25133" ],
"summary" : "October Rain has Stored XSS via SVG Filter Bypass",
"details" : "A stored cross-site scripting (XSS) vulnerability was identified in the SVG sanitization logic. The regex pattern used to strip `on*` event handler attributes could be bypassed using a crafted payload that exploits how the pattern matches attribute boundaries.\n\n### Impact\n- Stored XSS via malicious SVG files uploaded through the Media Manager\n- Could allow privilege escalation if a superuser views or embeds the malicious SVG\n- Requires authenticated backend access with media upload permissions (`media.library.create`)\n- SVG must be viewed or embedded in a page to trigger\n\n### Patches\nThe vulnerability has been patched in v3.7.14 and v4.1.10. All users are encouraged to upgrade to the latest patched version.\n\n### Workarounds\nIf upgrading immediately is not possible:\n- Disable SVG uploads by adding `svg` to the blocked extensions in media configuration\n- Set `media.clean_vectors` to `true` in configuration (enabled by default)\n\n### References\n- Reported by Pentest-Tools.com",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "october/rain"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.1.10"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.1.9"
}
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "october/rain"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.7.14"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.7.13"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/octobercms/october/security/advisories/GHSA-gcqv-f29m-67gr"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25133"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/octobercms/october"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-14T22:29:50Z",
"nvd_published_at" : "2026-04-14T21:16:25Z"
}
}