Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-49971 EUVD-2026-43518GHSA-9j79-936r-7fx2

Laravel-Mediable < 7.0.0 Stored XSS via SVG File Upload

Published Jul 13, 2026 · Updated Jul 14, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
plank laravel-mediable < 7.0.0 7.0.0

References