Skip to main content
VulnerabilityPublished

CVE-2026-142642: laravel framework · Improper Neutralization of Script in Attributes in a Web Page

Affects laravel frameworkSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.4 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
5.4Medium
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.15.4
Patch
Available – fixed in 13.43.0, 12.73.0
CVSS:3.1/AV:N/AC:L/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 this vulnerability is fixed. No additional mitigation is indicated by the vendor advisory.

Description

A cross-site scripting (XSS) vulnerability exists in the Laravel framework's Blade component attribute bags prior to versions 13.43.0 and 12.73.0. The issue arises because non-HTML-escaped non-Htmlable object values, such as Illuminate\Support\Stringable, can be injected into component attributes. This allows attackers to inject arbitrary attributes, including event handlers, leading to XSS execution in the application's origin context. The vulnerability is fixed in Laravel versions 13.43.0 and 12.73.0.

References

Community reviews

Loading reviews…