Skip to main content
VulnerabilityPublished

CVE-2026-142626: Laravel · Markdown secured encoding bypassed when Blade views are cached

Affects laravel/frameworkSource GCVE Database

0
Compare
Authoritative record:CVE-2026-142626· Low 3.1

Not known to be exploited · CVSS 3.1 Low : upgrade to 13.43.0 when convenient.

Data as of 3 Dec 2026, 19:16 UTC

CVSS 3.1 base score
3.1Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.13.1
Patch
Available – fixed in 13.43.0, 12.73.0
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade laravel/framework to 13.43.0; laravel/framework to 12.73.0.

Affected software

ProductAffectedFixed in
Packagistlaravel/frameworkAffected
  • >=13.0.0 <13.43.0
Fixed in
  • 13.43.0
Packagistlaravel/frameworkAffected
  • <12.73.0
Fixed in
  • 12.73.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

### Impact 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. ### Patches The issue is fixed by giving non-default echo formats their own compiled view file: https://github.com/laravel/framework/pull/61822 ### Workarounds No verified workaround is available.

References

Community reviews

Loading reviews…