CVE-2026-49971 Details
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.
A stored cross-site scripting vulnerability has been identified in Laravel-Mediable versions prior to 7.0.0. This vulnerability allows both authenticated and anonymous users to execute arbitrary JavaScript by uploading unsanitized SVG files that contain embedded scripts in onload event handlers, script tags, or foreignObject elements. The uploaded SVG files can store persistent XSS payloads that execute with full DOM access when opened or previewed by victims. This exploitation could lead to session cookie theft, CSRF token capture, and account takeover.
Users can upgrade to Laravel-Mediable version 7.0.0 or later, where this vulnerability has been fixed. Instructions for upgrading can be found in the Laravel-Mediable release notes.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 13, 2026CISA-ADP
Assessed Jul 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/plank/laravel-mediable/commit/65046b2162fac23ec5d5e8fbdff01a9a0804003e | [email protected] | Source CodeVendor |
| https://github.com/plank/laravel-mediable/releases/tag/7.0.0 | [email protected] | Release NotesVendor |
| https://www.vulncheck.com/advisories/laravel-mediable-stored-xss-via-svg-file-upload | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Plank Laravel-Mediable | < 7.0.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jul 14, 2026 | CVE Modified | CISA-ADP |
| Jul 13, 2026 | New CVE Received | [email protected] |
Volerion