CVE-2026-49971 Laravel-Mediable < 7.0.0 Stored XSS via SVG File Upload
MediumCVSS 5.3
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Laravel
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| plank/laravel-mediable | < 7.0.0 | 7.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| plank/laravel-mediable | < 7.0.0 | 7.0.0 |
References
- laravel-mediable 7.0.0 Release Notes patch release-notes
- Patch Commit patch
- www.vulncheck.com third-party-advisory