Home / laravel / framework / CVE-2026-142642
CVE-2026-142642: is it exploited, and which versions of laravel framework are affected and fixed?
CVE-2026-142642 is an improper Neutralization of Script in Attributes in a Web Page vulnerability in laravel framework. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: laravel/framework from 13.0.0 before 13.43.0 and laravel/framework before 12.73.0 (GitHub advisory GHSA-hv67-wfqj-w9xv). Fixed in 13.43.0 and 12.73.0 (GitHub advisory GHSA-hv67-wfqj-w9xv). Severity: Medium (5.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record December 2, 2026, 22:51 UTC and NVD December 3, 2026, 00:13 UTC.
What is CVE-2026-142642?
Laravel: XSS via unescaped Stringable values in Blade component attribute bag
Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, Blade component attribute bags did not HTML-escape non-Htmlable object values, such as Illuminate\Support\Stringable, passed to ComponentAttributeBag::merge() or prepends(). Applications that place user-controlled Stringable values (for example, the result of request()->string()) into component attributes could allow an attacker to break out of the attribute and inject arbitrary attributes, such as event handlers. This results in cross-site scripting that runs in the origin of the application. This issue is fixed in versions 13.43.0 and 12.73.0.
From the CVE record by GitHub_M, last updated December 2, 2026, 22:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| laravel | framework | >= 13.0.0, < 13.43.0 < 12.73.0 |
As the CVE record by GitHub_M states it, last updated December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | laravel/framework | >= 13.0.0, < 13.43.0 | 13.43.0 | GHSA-hv67-wfqj-w9xv |
| Packagist | laravel/framework | < 12.73.0 | 12.73.0 | GHSA-hv67-wfqj-w9xv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 3, 2026. Summary: Laravel: XSS via unescaped Stringable values in Blade component attribute bag.
How severe is CVE-2026-142642?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-142642 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 24.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-83 Improper Neutralization of Script in Attributes in a Web Page
Where are the vendor advisories and references?
- https://github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xv x_refsource_CONFIRM
- https://github.com/laravel/framework/pull/62503 x_refsource_MISC
- https://github.com/laravel/framework/commit/d214178be8144c729f3318b194d474d0ed042db7 x_refsource_MISC
- https://github.com/laravel/framework/releases/tag/v12.73.0 x_refsource_MISC
- https://github.com/laravel/framework/releases/tag/v13.43.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 2, 2026
- Published
- December 2, 2026, 22:49 UTC
- CVE record updated
- December 2, 2026, 22:49 UTC by GitHub_M
- NVD
- Received, last modified December 2, 2026, 23:18 UTC
- Last checked
- CVE list December 2, 2026, 22:51 UTC; NVD December 3, 2026, 00:13 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect framework?
- Dec 2, 2026CVE-2026-142650 laravel framework: SQL injection
- Dec 2, 2026CVE-2026-142649 laravel framework: incorrect comparison
- Dec 2, 2026CVE-2026-142648 laravel framework: incorrect authorization
- Dec 2, 2026CVE-2026-142647 laravel framework: session does not expire
- Dec 2, 2026CVE-2026-142645 laravel framework: session does not expire
- Dec 2, 2026CVE-2026-142644 laravel framework: regular expression denial of service (ReDoS)
- Dec 2, 2026CVE-2026-142643 laravel framework: type confusion
- Dec 2, 2026CVE-2026-142641 laravel framework: improper Handling of Extra Parameters
Questions about CVE-2026-142642
Is CVE-2026-142642 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of laravel framework are affected by CVE-2026-142642?
laravel/framework from 13.0.0 before 13.43.0 and laravel/framework before 12.73.0, per the GitHub advisory GHSA-hv67-wfqj-w9xv. The tables above give every range the sources list.
Which version fixes CVE-2026-142642?
13.43.0 and 12.73.0, per the GitHub advisory GHSA-hv67-wfqj-w9xv. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-142642?
Medium (5.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-142642?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.