CVE-2026-142626: Laravel Markdown Secured Encoding Bypassed When Vulnerability
LOWCVE-2026-142626 is a LOW (CVSS 3.1) markdown secured encoding bypassed when vulnerability (CWE-116: Improper Encoding or Escaping of Output) affecting Laravel libraries in the Packagist ecosystem. The issue involves markdown secured encoding bypassed when blade views are cached. Remediation is available by upgrading affected packages to version 13.43.0, 12.73.0.
CVE-2026-142626 at a Glance
Security Impact
CVSS: 3.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2026-142626
To remediate this vulnerability, upgrade all affected Laravel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade laravel/framework to 13.43.0
Upgrade laravel/framework to 12.73.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for laravel/framework
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-142626, inspect your project dependencies for Laravel:
inspect dependencies for laravel/framework
Analyze the terminal output to locate any version of Laravel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 13.43.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-116: Improper Encoding or Escaping of Output, where the product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. as a result, the intended structure of the message is not preserved. In Laravel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-142626 Affected Laravel Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
laravel/framework
|
Packagist |
≥ 13.0.0
< 13.43.0
|
13.43.0
|
|
laravel/framework
|
Packagist |
< 12.73.0
|
12.73.0
|
References
Frequently Asked Questions
What is CVE-2026-142626?
Which Laravel versions are affected?
What version fixes CVE-2026-142626?
Is laravel/framework affected?
What is the CVSS score of CVE-2026-142626?
What CWE is associated with CVE-2026-142626?
How can I check Packagist dependencies for CVE-2026-142626?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5xc4-gpwg-p8wq",
"modified" : "2026-12-03T18:16:35Z",
"published" : "2026-12-03T18:16:35Z",
"aliases" : [ "CVE-2026-142626" ],
"summary" : "Laravel: Markdown secured encoding bypassed when Blade views are cached",
"details" : "### Impact\n\nApplications 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.\n\n### Patches\n\nThe issue is fixed by giving non-default echo formats their own compiled view file: https://github.com/laravel/framework/pull/61822\n\n### Workarounds\n\nNo verified workaround is available.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "laravel/framework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "13.0.0"
}, {
"fixed" : "13.43.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "laravel/framework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "12.73.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/laravel/framework/security/advisories/GHSA-5xc4-gpwg-p8wq"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-142626"
}, {
"type" : "WEB",
"url" : "https://github.com/laravel/framework/pull/61822"
}, {
"type" : "WEB",
"url" : "https://github.com/laravel/framework/commit/6bff072eaf676a672851f27157be9f42617ec4a9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/laravel/framework"
}, {
"type" : "WEB",
"url" : "https://github.com/laravel/framework/releases/tag/v12.73.0"
}, {
"type" : "WEB",
"url" : "https://github.com/laravel/framework/releases/tag/v13.43.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-116" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-03T18:16:35Z",
"nvd_published_at" : "2026-12-02T23:18:41Z"
}
}