Advisory

GHSA-gcqv-f29m-67gr

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

Impact

  • Stored XSS via malicious SVG files uploaded through the Media Manager
  • Could allow privilege escalation if a superuser views or embeds the malicious SVG
  • Requires authenticated backend access with media upload permissions (media.library.create)
  • SVG must be viewed or embedded in a page to trigger

Patches
The vulnerability has been patched in v3.7.14 and v4.1.10. All users are encouraged to upgrade to the latest patched version.

Workarounds
If upgrading immediately is not possible:

  • Disable SVG uploads by adding svg to the blocked extensions in media configuration
  • Set media.clean_vectors to true in configuration (enabled by default)

References

  • Reported by Pentest-Tools.com

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-14 22:29 UTC
Modified
2026-05-08 20:50 UTC

Affected packages and fixes

october/rain

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.1.10 (ecosystem)

Fixed versions

4.1.10

Fix

The export has no generic command for this ecosystem.

october/rain

Packagist · All systems

Affected

  • introduced 0, fixed 3.7.14 (ecosystem)

Fixed versions

3.7.14

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