CVE-2026-25133: October Rain Stored XSS via SVG Filter Bypass

october/rain Updated 15 Apr 2026

Summary

14/04/2026
Yes i
Moderate
5.3

CVE-2026-25133: October Rain has Stored XSS via SVG Filter Bypass. Affects october/rain across 2 version ranges.

< 3.7.14 >= 4.0.0, < 4.1.10

Fixed in 3.7.14 or 4.1.10, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

October Rain is a popular open-source content management system built on the Laravel framework, designed for developers to create and manage websites easily. It offers a range of features including a media manager for uploading and managing files. However, it has a vulnerability in its SVG sanitization logic that can lead to stored cross-site scripting (XSS) attacks.

Vulnerability Detail

A stored cross-site scripting (XSS) vulnerability exists in the SVG sanitization logic of October Rain. The regex pattern used to strip 'on*' event handler attributes can be bypassed using a crafted payload that exploits how the pattern matches attribute boundaries. This vulnerability allows attackers to upload malicious SVG files through the Media Manager, which can lead to privilege escalation if a superuser views or embeds the malicious SVG. The attack requires authenticated backend access with media upload permissions and is triggered when the SVG is viewed or embedded in a page.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.7.14 3.7.14
    composer require october/rain:3.7.14
  • >= 4.0.0, < 4.1.10 4.1.10
    composer require october/rain:4.1.10

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If immediate upgrading is not feasible, you can disable SVG uploads by adding 'svg' to the blocked extensions in your media configuration. Additionally, ensure that 'media.clean_vectors' is set to 'true' in your configuration (this is enabled by default).

Conclusion

In summary, CVE-2026-25133 is a stored XSS vulnerability in October Rain that can be exploited through malicious SVG uploads. Users are strongly encouraged to upgrade to the patched versions to mitigate this risk. Workarounds are available for those unable to upgrade immediately.

See every vulnerability recorded for october/rain →

Share this vulnerability

FAQ

CVE-2026-25133 is a vulnerability in October Rain that allows for stored XSS attacks through improperly sanitized SVG files.

If exploited, this vulnerability can allow attackers to execute malicious scripts in the context of a user's browser, potentially leading to data theft or privilege escalation.

Versions 3.7.13 and earlier, as well as 4.1.9 and earlier, are affected by this vulnerability.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can access the Vulert playground at Vulert Scanner without any signup.

The CVSS score of this vulnerability is 5.3, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for october/rain.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.7.14 3.7.14
    composer require october/rain:3.7.14
  • >= 4.0.0, < 4.1.10 4.1.10
    composer require october/rain:4.1.10

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback