CVE-2026-49971: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in plank laravel-mediable
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.
AI Analysis
Technical Summary
CVE-2026-49971 is a stored cross-site scripting vulnerability in the plank laravel-mediable package prior to version 7.0.0. The vulnerability arises from improper neutralization of input during web page generation, specifically allowing unsanitized SVG files containing embedded scripts in onload event handlers, script tags, or foreignObject elements. When these malicious SVG files are uploaded and later viewed or previewed, the embedded JavaScript executes with full DOM access, enabling persistent XSS attacks.
Potential Impact
An attacker can execute arbitrary JavaScript in the victim's browser by uploading crafted SVG files. This can lead to theft of session cookies, capture of CSRF tokens, and potential account takeover. Both authenticated and anonymous users can exploit this vulnerability, increasing the attack surface.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict or sanitize SVG file uploads to prevent embedded scripts from executing. Consider disabling SVG uploads or implementing server-side validation and sanitization of SVG content to remove script elements and event handlers.
CVE-2026-49971: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in plank laravel-mediable
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.
CVSS v4.0
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-49971 is a stored cross-site scripting vulnerability in the plank laravel-mediable package prior to version 7.0.0. The vulnerability arises from improper neutralization of input during web page generation, specifically allowing unsanitized SVG files containing embedded scripts in onload event handlers, script tags, or foreignObject elements. When these malicious SVG files are uploaded and later viewed or previewed, the embedded JavaScript executes with full DOM access, enabling persistent XSS attacks.
Potential Impact
An attacker can execute arbitrary JavaScript in the victim's browser by uploading crafted SVG files. This can lead to theft of session cookies, capture of CSRF tokens, and potential account takeover. Both authenticated and anonymous users can exploit this vulnerability, increasing the attack surface.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict or sanitize SVG file uploads to prevent embedded scripts from executing. Consider disabling SVG uploads or implementing server-side validation and sanitization of SVG content to remove script elements and event handlers.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-02T16:30:15.234Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a552f7368715ace43a5ecde
Added to database: 07/13/2026, 18:33:23 UTC
Last enriched: 07/20/2026, 19:05:05 UTC
Last updated: 08/26/2026, 22:52:11 UTC
Views: 76
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.