CVE-2026-49971
MEDIUMLaravel-Mediable < 7.0.0 Stored XSS via SVG File Upload
Title source: cnaDescription
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.
References (3)
Core 3
Core References
Patch patch
Patch Commit
https://github.com/plank/laravel-mediable/commit/65046b2162fac23ec5d5e8fbdff01a9a0804003e
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/laravel-mediable-stored-xss-via-svg-file-upload
Release Notes release-notes
patch
Release Notes
https://github.com/plank/laravel-mediable/releases/tag/7.0.0
Scores
CVSS v3
6.1
EPSS
0.0020
EPSS Percentile
10.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (1)
plank/laravel-mediable
< 7.0.0
Published
Jul 13, 2026
Tracked Since
Jul 14, 2026