Vulnerability · Published Jul 13, 2026 · Assigned by VulnCheck
CVE-2026-49971Laravel-Mediable < 7.0.0 Stored XSS via SVG File Upload
Medium 6.1
In plain English
A medium-severity cross-site scripting in laravel-mediable from plank. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities).
Official description
Laravel-Mediable before 7.0.0 contains a stored cross-site scripting vulnerability that allows authenticated or anonymous users to execute arbitrary JavaScript by uploading unsanitized SVG files containing embedded scripts in onload event handlers, script tags, or foreignObject elements. Attackers can store persistent XSS payloads in uploaded SVG files that execute with full DOM access when victims open or preview the file, enabling session cookie theft, CSRF token capture, and account takeover.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| plank | laravel-mediable | 0 – before 7.0.0 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:L
References
- laravel-mediable 7.0.0 Release Notes release-notes, patch
- Patch Commit patch
- https://www.vulncheck.com/advisories/laravel-mediable-stored-xss-via-svg-file-upload third-party-advisory