Vulnerability

CVE-2026-49971

mediumCVSS 4.0 5.3Published 13 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /plank/laravel-mediable/commit/65046b2162fac23ec5d5e8fbdff0…
  • github.com /plank/laravel-mediable/releases/tag/7.0.0
  • www.vulncheck.com /advisories/laravel-mediable-stored-xss-via-svg-file-upload

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning