Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/plank/laravel-mediable/commit/65046b2162fac23ec5d5e8fbdff01a9
- https://github.com/plank/laravel-mediable/releases/tag/7.0.0
- https://www.vulncheck.com/advisories/laravel-mediable-stored-xss-via-svg-file-up
FAQ
What is CVE-2026-49971?
CVE-2026-49971 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 conta...
How severe is CVE-2026-49971?
CVE-2026-49971 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-49971?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.