Skip to content

Laravel

Laravel: Markdown secured encoding bypassed when Blade views are cached

CVE-2026-142626GHSA-5xc4-gpwg-p8wqPublished 2 Dec 2026, 22:32 UTC

Real-world risk

0.7/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

3.1

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, Applications that enable Markdown::withSecuredEncoding() to escape user-controlled data in Markdown mail and mail notifications may not get that protection when views have been precompiled with php artisan view:cache or php artisan optimize. The cached view, compiled with the default echo format, is reused when mail views are rendered, so the secured encoder never runs. An attacker who controls data included in an email, such as a user name, could inject Markdown links or remote images into the message, for example for phishing or tracking. This issue is fixed in versions 13.43.0 and 12.73.0.

Am I affected?

ProductAffected versions (from the sources)Fixed in
LaravelWidespread>= 13.0.0, < 13.43.0; < 12.73.013.43.0, 12.73.0
frameworkCommon>= 13.0.0, < 13.43.0; < 12.73.013.43.0, 12.73.0

What to do

Update to a fixed version: 13.43.0, 12.73.0.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.4% chance of exploitation in 30 days (percentile 31), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.270
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.3 × prerequisites 0.27 × threat 0.850.689
  4. Rounded to one decimal between 0.1 and 100.7

How the score works

Exploitation and evidence timeline

  1. 2 Dec 2026 Published
  2. 2 Dec 2026 Risk 0.7 (cvss fallback)

Weakness

CWE-116

References

Get alerts for Laravel

Free email or text alerts when a vulnerability in Laravel reaches risk 8 or higher. Nothing else.