What’s Vulnerable › Vulnerabilities
CVE-2026-49971: Laravel-Mediable < 7.0.0 Stored XSS via SVG File Upload
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-13 · updated 2026-10-24
- Weakness: CWE-79
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
- plank laravel-mediable: before 7.0.0 — fixed in 7.0.0
How to fix
Upgrade to a fixed version: plank laravel-mediable 7.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/plank/laravel-mediable/commit/65046b2162fac23ec5d5e8fbdff01a9a0804003e
- https://github.com/plank/laravel-mediable/releases/tag/7.0.0
- https://www.vulncheck.com/advisories/laravel-mediable-stored-xss-via-svg-file-upload
Get alerted when CVE-2026-49971 or the next vulnerability affects your stack