Filament Curator: Stored XSS via unsanitized SVG upload served inline
- State
- Published
- Severity
- 5.4 Medium
- Published
- Nov 17, 2026
- Updated
- Nov 18, 2026
- Reserved
- Aug 3, 2026
Description
Filament Curator is a media picker plugin for Filament panels. From 3.0.0 until 3.7.9, 4.1.2, and 5.1.2, the Curator media panel accepts image/svg+xml files by default and stores and serves their markup inline without sanitization. An authenticated user with media-upload permission can store an SVG containing scripts, event-handler attributes, or javascript: URIs. When another panel user selects the View action, the SVG opens as a top-level browser document and its active content executes in the Filament application's origin. The script can perform authenticated same-origin actions as the viewing user and read same-origin data and script-accessible tokens. Panel thumbnails are not affected because they render through an image element that does not execute SVG script. This issue is fixed in versions 3.7.9, 4.1.2, and 5.1.2.
| Product | Versions |
|---|---|
| filament-curator awcodes | >= 3.0.0, < 3.7.9 Affected>= 4.0.0, < 4.1.2 Affected>= 5.0.0, < 5.1.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | GitHub_M |
Weaknesses
References
- https://github.com/awcodes/filament-curator/security/advisories/GHSA-8vm9-f75m-5h2m
- https://github.com/awcodes/filament-curator/commit/7613e6ef4c4d716efdb5e3c8f65aca88256df1df
- https://github.com/awcodes/filament-curator/commit/f0cf6520783aa82708cce30789835e7f48084291
- https://github.com/awcodes/filament-curator/releases/tag/v3.7.9
- https://github.com/awcodes/filament-curator/releases/tag/v4.1.2
- https://github.com/awcodes/filament-curator/releases/tag/v5.1.2
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.