Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2026-49971

Laravel-Mediable < 7.0.0 Stored XSS via SVG File Upload

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

plank laravel-mediable

Default version status: affected

  • 0 to < 7.0.0affected
pkg:github/plank/laravel-mediable

References