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 package | Versions | Reported by |
|---|---|---|
| plank laravel-mediable | before 7.0.0 | CVE List |
All scores
| VulnCheck | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| VulnCheck | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:L |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-49971 changed 2026-07-14 | CVE Terms of Use |
| NVD | CVE-2026-49971 changed 2026-10-24 | Public domain |