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.
Published: 2026-07-13
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Laravel‑Mediable before version 7.0.0 contains a stored cross‑site scripting flaw (CWE‑79) that allows attackers to upload SVG files with embedded JavaScript. The malicious content can be placed in onload event handlers, victim opens or previews the SVG, the code executes with full DOM privileges, enabling session cookie theft, CSRF token capture, and account takeover.

Affected Systems

The vulnerable package is Laravel‑Mediable from the vendor plank. All releases older than 7.0.0 are affected and no specific build or patch level is enumerated in the advisory.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, and the EPSS score is < 1%. The vulnerability is not listed in the CISA KEV catalog, suggesting limited documented exploitation. The likely attack vector is remote via the public web interface, using file upload functionality, and it can be triggered by both authenticated and unauthenticated users. An attacker who successfully uploads a malicious SVG can target any user who subsequently opens or previews the file, resulting in persistent client‑side compromise with full DOM access.

Generated by OpenCVE AI on July 31, 2026 at 11:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Laravel‑Mediable package to version 7.0.0 or later.
  • If an upgrade is not feasible, disable SVG file upload support or limit allowed file types to exclude SVG files.
  • Delete any SVG files that were uploaded prior to the upgrade to remove stored malicious payloads.

Generated by OpenCVE AI on July 31, 2026 at 11:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 14 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 13 Jul 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Plank
Plank laravel-mediable
Vendors & Products Plank
Plank laravel-mediable

Mon, 13 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
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.
Title Laravel-Mediable < 7.0.0 Stored XSS via SVG File Upload
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:L'}

cvssV4_0

{'score': 5.3, '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'}


Subscriptions

Plank Laravel-mediable
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T21:33:32.767Z

Reserved: 2026-06-02T16:30:15.234Z

Link: CVE-2026-49971

cve-icon Vulnrichment

Updated: 2026-07-14T14:22:44.548Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T11:30:05Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')