Skip to main content
VulnerabilityPublished

CVE-2026-142638: laravel framework · Cross-site Scripting

Affects laravel frameworkSource CVE Database V5

0
Compare

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

Data as of 2 Dec 2026, 23:05 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 2 Dec 2026.

What to do

Upgrade laravel framework to 13.43.0 or 12.73.0.

Affected software

ProductAffectedFixed in
laravelframeworkAffected
  • >=13.0.0 <13.43.0
Fixed in
  • 13.43.0
laravelframeworkAffected
  • <12.73.0
Fixed in
  • 12.73.0

AI-suggested

Upgrade Laravel framework to version 13.43.0 or later, or 12.73.0 or later, where the vulnerability is fixed. Additionally, clear or recompile existing compiled views using 'php artisan view:clear' or 'php artisan view:cache' to remove the vulnerable behavior from cached views.

Description

A cross-site scripting (XSS) vulnerability exists in Laravel framework's Blade <x-dynamic-component> prior to versions 13.43.0 and 12.73.0. The issue arises when user-controlled data is bound to an attribute not defined as a constructor parameter and the component outputs {{ $attributes }}, allowing the value to break out of the HTML attribute context. Anonymous components are not affected. Compiled views retain the vulnerability until cleared or recompiled. This flaw is fixed in Laravel versions 13.43.0 and 12.73.0.

References

Community reviews

Loading reviews…