CVE-2026-69241
Filament Curator: Stored XSS via unsanitized SVG upload served inline
- Severity
- 5.4MediumNetwork attack, low privileges, needs user interactionCVSS 3.1, CVE List
- Exploitation
- UnknownNo source reports exploitation yet.
- Exploit chance
- 0.34% in 30 daysPercentile29thEPSS, scored
- Listed fix
5.1.2for awcodes/filament- curator From GitHub Advisories and OSV2 more listed versions
Overview
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.
CVSS 3.1 vector
Exploitability
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
Impact
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NExploit chance over time
Affected
Packages 1
| Package | Affected | Fixed |
|---|---|---|
awcodes/filament-curatorPackagist | 5.0.0 to 5.1.1 | 5.1.2 |
| 4.0.0 to 4.1.1 | 4.1.2 | |
| 3.0.0 to 3.7.8 | 3.7.9 | |
| 5.0.0 up to 5.1.2, plus listed versions v5.0.0v5.0.1v5.0.2v5.0.3v5.0.4 Show 6 more versionsShow lessv5.0.5v5.0.6v5.0.7v5.0.8v5.1.0v5.1.1 | 5.1.2 | |
| 4.0.0 up to 4.1.2, plus listed versions v4.0.0v4.0.1v4.0.2v4.0.3v4.0.4 Show 6 more versionsShow lessv4.0.5v4.0.6v4.0.7v4.0.8v4.1.0v4.1.1 | 4.1.2 | |
| 3.0.0 up to 3.7.9, plus listed versions v3.0.0v3.0.1v3.0.2v3.0.3v3.0.4 Show 45 more versionsShow lessv3.0.5v3.0.6v3.0.7v3.1.0v3.1.1v3.1.2v3.1.3v3.1.4v3.1.5v3.1.6v3.2.0v3.2.1v3.2.2v3.2.3v3.2.4v3.2.5v3.2.6v3.3.0v3.3.1v3.4.0v3.4.1v3.4.10v3.4.11v3.4.12v3.4.2v3.4.3v3.4.4v3.4.5v3.4.6v3.4.7v3.4.8v3.4.9v3.5.0v3.5.1v3.5.16v3.5.17v3.5.2v3.5.3v3.5.4v3.5.5v3.5.6v3.5.7v3.5.8v3.6.0v3.6.1 | 3.7.9 |
The JSON record also has 24 more versions.
Products 1
Sources
CVE List Score usedCVSS 3.15.4
Filament Curator: Stored XSS via unsanitized SVG upload served inline
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.
- Record
CVE-2026-69241- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79, CWE-284
- Updated
- 2026-11-18
EUVDEUVD-2026-127177CVSS 3.15.4
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.
- Record
EUVD-2026-127177- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-18
GitHub AdvisoriesGHSA-8vm9-f75m-5h2mCVSS 3.15.4
Filament Curator: Stored XSS via unsanitized SVG upload served inline
Summary
SVG files uploaded through the Curator media panel are stored and served inline without any sanitization. An authenticated user with permission to upload media can upload an SVG containing embedded JavaScript. When another panel user opens that file via the View action (which opens the media as a top-level browser document), the embedded script executes in the origin of the Filament application.
image/svg+xml is included in the default accepted MIME types, so a default installation is
affected unless SVG uploads have been explicitly disabled.
Impact
Because the SVG is served as a top-level document (not embedded in an <img> tag), any
<script>, event-handler attribute (e.g. onload), or javascript: URI inside it runs with
full script privileges in the application's origin. In a Filament admin context this can be
leveraged to:
- perform actions as the viewing user (typically a privileged administrator) via authenticated same-origin requests,
- read same-origin data the victim's session can access,
- exfiltrate cookies/tokens not protected from script access.
The primary escalation path is a lower-privileged content author planting a payload that is
later triggered when a higher-privileged user clicks View on the file. Panel thumbnails
are not affected — they render through an <img> tag, which does not execute SVG script.
Proof of concept
As a user who can upload media, upload an SVG file containing:
<svg xmlns="http://www.w3.org/2000/svg" onload="alert(document.domain)"> <rect width="100" height="100" fill="#fff"/> </svg>In the Curator panel, click the View (eye) action for the uploaded file. The file opens as a standalone document and the script executes in the application origin.
Patches
The fix sanitizes SVG markup at the upload choke point (Uploader), stripping scripts, event handlers, and remote references before the file is written to storage. Sanitizing at the source closes every serving path (the direct storage URL and the on-the-fly Glide/MediaController fallback) without changing the default accepted MIME types. Sanitization fails closed: if the markup cannot be parsed it is not stored.
A console command is included to re-sanitize SVG files already stored on disk from earlier uploads:
php artisan curator:sanitize-svgs # sanitize in place php artisan curator:sanitize-svgs --dry-run # preview only
After upgrading to a patched release, run curator:sanitize-svgs to clean any SVGs uploaded before the patch.
Workarounds
If you cannot upgrade immediately, either of the following mitigates the issue:
- Disallow SVG uploads — remove image/svg+xml from the accepted file types (e.g. via acceptedFileTypes(...) on the Curator field/plugin), or
- Serve untrusted SVGs safely — configure your web server / storage responses to send stored SVGs with Content-Disposition: attachment (or a Content-Security-Policy that blocks inline script) so they cannot execute as a top-level document.
Credit
Reported via coordinated disclosure by Afsana Alijabarova.
- Record
GHSA-8vm9-f75m-5h2m- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79, CWE-284
- Updated
- 2026-11-17
NVDCVSS 3.15.4
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.
- Record
CVE-2026-69241- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79, CWE-284
- Updated
- 2026-11-18
OSVCVSS 3.15.4
Filament Curator: Stored XSS via unsanitized SVG upload served inline
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.
- Record
CVE-2026-69241- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-284, CWE-79
- Updated
- 2026-11-18
OSVGHSA-8vm9-f75m-5h2mCVSS 3.15.4
Filament Curator: Stored XSS via unsanitized SVG upload served inline
Summary
SVG files uploaded through the Curator media panel are stored and served inline without any sanitization. An authenticated user with permission to upload media can upload an SVG containing embedded JavaScript. When another panel user opens that file via the View action (which opens the media as a top-level browser document), the embedded script executes in the origin of the Filament application.
image/svg+xml is included in the default accepted MIME types, so a default installation is
affected unless SVG uploads have been explicitly disabled.
Impact
Because the SVG is served as a top-level document (not embedded in an <img> tag), any
<script>, event-handler attribute (e.g. onload), or javascript: URI inside it runs with
full script privileges in the application's origin. In a Filament admin context this can be
leveraged to:
- perform actions as the viewing user (typically a privileged administrator) via authenticated same-origin requests,
- read same-origin data the victim's session can access,
- exfiltrate cookies/tokens not protected from script access.
The primary escalation path is a lower-privileged content author planting a payload that is
later triggered when a higher-privileged user clicks View on the file. Panel thumbnails
are not affected — they render through an <img> tag, which does not execute SVG script.
Proof of concept
As a user who can upload media, upload an SVG file containing:
<svg xmlns="http://www.w3.org/2000/svg" onload="alert(document.domain)"> <rect width="100" height="100" fill="#fff"/> </svg>In the Curator panel, click the View (eye) action for the uploaded file. The file opens as a standalone document and the script executes in the application origin.
Patches
The fix sanitizes SVG markup at the upload choke point (Uploader), stripping scripts, event handlers, and remote references before the file is written to storage. Sanitizing at the source closes every serving path (the direct storage URL and the on-the-fly Glide/MediaController fallback) without changing the default accepted MIME types. Sanitization fails closed: if the markup cannot be parsed it is not stored.
A console command is included to re-sanitize SVG files already stored on disk from earlier uploads:
php artisan curator:sanitize-svgs # sanitize in place php artisan curator:sanitize-svgs --dry-run # preview only
After upgrading to a patched release, run curator:sanitize-svgs to clean any SVGs uploaded before the patch.
Workarounds
If you cannot upgrade immediately, either of the following mitigates the issue:
- Disallow SVG uploads — remove image/svg+xml from the accepted file types (e.g. via acceptedFileTypes(...) on the Curator field/plugin), or
- Serve untrusted SVGs safely — configure your web server / storage responses to send stored SVGs with Content-Disposition: attachment (or a Content-Security-Policy that blocks inline script) so they cannot execute as a top-level document.
Credit
Reported via coordinated disclosure by Afsana Alijabarova.
- Record
GHSA-8vm9-f75m-5h2m- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-284, CWE-79
- Updated
- 2026-11-17
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| References | CVE List | |
| Published date | EUVD | |
| Published date | EUVD, NVD | |
| Affected packages, references | GitHub Advisories | |
| Affected packages, key facts, references | OSV | |
| Other IDs, published date | EUVD | |
| Other IDs, references | OSV | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/awcodes/filament-curator/security/advisories/GHSA-8vm9-f75m-5h2m
github.com/awcodes/filament-curator/commit/7613e6ef4c4d716efdb5e3c8f65aca88256df1df
github.com/awcodes/filament-curator/commit/f0cf6520783aa82708cce30789835e7f48084291
github.com/awcodes/filament-curator/releases/tag/v3.7.9
github.com/awcodes/filament-curator/releases/tag/v4.1.2
github.com/awcodes/filament-curator/releases/tag/v5.1.2
github.com/advisories/GHSA-8vm9-f75m-5h2m
github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69241.json
nvd.nist.gov/vuln/detail/CVE-2026-69241
github.com/awcodes/filament-curator