Skip to main content
VulnerabilityPublished

CVE-2026-142638: Laravel · Unescaped bound attributes on Blade dynamic components that resolve to class-based components

Affects laravel/frameworkSource GCVE Database

0
Compare
Authoritative record:CVE-2026-142638· Medium 4.2

Not known to be exploited · CVSS 4.2 Medium : upgrade to 13.43.0 when convenient.

Data as of 3 Dec 2026, 19:16 UTC

CVSS 3.1 base score
4.2Medium
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.14.2
Patch
Available – fixed in 13.43.0, 12.73.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/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 Blade's `<x-dynamic-component>` did not HTML-escape bound attributes (`:attr="$value"`) when the target resolved to a class-based component. If user-controlled data was bound to an attribute that is not a constructor parameter and the component outputs `{{ $attributes }}`, the value could break out of the HTML attribute and lead to cross-site scripting (XSS). The same component rendered with its normal tag escaped the value correctly. Anonymous component targets were not affected. ### Patches The fix is merged on the 13.x and 12.x branches: https://github.com/laravel/framework/pull/62455 and https://github.com/laravel/framework/pull/62456. It has not been confirmed as released. Compiled views keep the previous behavior until they are recompiled, so run `php artisan view:clear` or `php artisan view:cache` after upgrading.

References

Community reviews

Loading reviews…