CVE-2026-49971: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in plank laravel-mediable
Laravel-Mediable versions prior to 7.0.0 contain a stored cross-site scripting (XSS) vulnerability. This flaw allows authenticated or anonymous users to upload SVG files with embedded malicious JavaScript, which executes when the file is viewed or previewed. The vulnerability arises from improper sanitization of SVG inputs, enabling persistent XSS attacks that can lead to session cookie theft, CSRF token capture, and potential account takeover.
AI Analysis
Technical Summary
CVE-2026-49971 is a stored cross-site scripting vulnerability in the plank laravel-mediable package before version 7.0.0. The vulnerability occurs because the software does not properly neutralize input during web page generation, specifically failing to sanitize uploaded SVG files. Attackers can embed JavaScript in SVG elements such as onload event handlers, script tags, or foreignObject elements. When these malicious SVG files are opened or previewed by users, the embedded scripts execute with full DOM access, enabling persistent XSS attacks. This can compromise user sessions and security tokens, leading to account compromise.
Potential Impact
The vulnerability allows attackers to execute arbitrary JavaScript in the context of the affected application. This can result in theft of session cookies, capture of CSRF tokens, and account takeover. Both authenticated and unauthenticated users can exploit this by uploading crafted SVG files. The CVSS 4.0 base score is 5.3 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, and user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid uploading SVG files or implement strict sanitization of SVG content to remove scripts and event handlers. Monitoring vendor channels for updates is recommended.
CVE-2026-49971: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in plank laravel-mediable
Description
Laravel-Mediable versions prior to 7.0.0 contain a stored cross-site scripting (XSS) vulnerability. This flaw allows authenticated or anonymous users to upload SVG files with embedded malicious JavaScript, which executes when the file is viewed or previewed. The vulnerability arises from improper sanitization of SVG inputs, enabling persistent XSS attacks that can lead to session cookie theft, CSRF token capture, and potential 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 before version 7.0.0. The vulnerability occurs because the software does not properly neutralize input during web page generation, specifically failing to sanitize uploaded SVG files. Attackers can embed JavaScript in SVG elements such as onload event handlers, script tags, or foreignObject elements. When these malicious SVG files are opened or previewed by users, the embedded scripts execute with full DOM access, enabling persistent XSS attacks. This can compromise user sessions and security tokens, leading to account compromise.
Potential Impact
The vulnerability allows attackers to execute arbitrary JavaScript in the context of the affected application. This can result in theft of session cookies, capture of CSRF tokens, and account takeover. Both authenticated and unauthenticated users can exploit this by uploading crafted SVG files. The CVSS 4.0 base score is 5.3 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, and user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid uploading SVG files or implement strict sanitization of SVG content to remove scripts and event handlers. Monitoring vendor channels for updates is recommended.
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/13/2026, 18:48:10 UTC
Last updated: 07/13/2026, 22:28:28 UTC
Views: 11
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.