CVE-2026-49971
JSON

5.3medium

Laravel-Mediable < 7.0.0 Stored XSS via SVG File Upload

Severity
5.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
plank laravel-mediablebefore 7.0.0CVE List

All scores

VulnCheck5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
VulnCheck6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:L

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Laravel-Mediable anterior a 7.0.0 contiene una vulnerabilidad de cross-site scripting almacenada que permite a usuarios autenticados o anónimos ejecutar JavaScript arbitrario al subir archivos SVG no saneados que contienen scripts incrustados en manejadores de eventos onload, etiquetas script o elementos foreignObject. Los atacantes pueden almacenar cargas útiles XSS persistentes en archivos SVG subidos que se ejecutan con acceso DOM completo cuando las víctimas abren o previsualizan el archivo, lo que permite el robo de cookies de sesión, la captura de tokens CSRF y la toma de control de cuentas.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49971 changed 2026-07-14CVE Terms of Use
NVDCVE-2026-49971 changed 2026-10-24Public domain