Skip to main content

Laravel Framework CVE-2026-142638

| EUVDEUVD-2026-141968 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-12-02 GitHub_M GHSA-9966-43cq-4mpr
4.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify vulnerable x-dynamic-component binding
  2. Delivery
    Submit crafted attribute payload
  3. Exploit
    Break out of HTML attribute context
  4. Execution
    Script executes in victim browser
  5. Impact
    Steal session or act as user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a specific, non-default coding pattern: the application must render a <x-dynamic-component> whose target resolves to a CLASS-based component (anonymous component targets are NOT affected), must bind user-controlled data via a bound attribute (:attr="$value") to an attribute that is NOT one of the component's constructor parameters, and the component template must output {{ $attributes }}. The same component rendered via its normal tag escapes correctly, so only the dynamic-component path is vulnerable. A victim must load the rendered page (UI:R). A critical persistence condition: existing compiled Blade views retain the vulnerable behavior even after upgrading the package until 'php artisan view:clear' or 'php artisan view:cache' is run. Limiting factors: the narrow required coding pattern (high attack complexity), the need for user interaction, and the Low/Low/None impact confined to the victim's browser session.

Impact

This is a genuine but low-to-moderate priority issue, better characterized as a targeted/edge-case flaw than a broadly dangerous one. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N, base 4.2 MEDIUM) tells a consistent story: network-reachable and unauthenticated (PR:N), but gated by high attack complexity (AC:H) and required user interaction (UI:R), with only Low confidentiality and integrity impact and no availability impact - typical of reflected/stored XSS confined to the victim's browser (S:U). No EPSS score and no KEV listing were provided, and there is no CISA KEV entry, so there is no signal of active exploitation. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with the medium severity and absence of in-the-wild exploitation. The AC:H here reflects a real precondition - the application must be coded in a specific vulnerable pattern (dynamic-component binding a non-constructor attribute that is echoed via {{ $attributes }}) - rather than a documented race or timing condition. The most important caveat for defenders is the compiled-view persistence: upgrading the package does NOT remove the vulnerable behavior from already-compiled Blade views until 'php artisan view:clear' or 'php artisan view:cache' is run, so a patched installation can remain exploitable. EPSS is not available to compare against KEV; absence of both is consistent with a newly disclosed, non-weaponized framework XSS.

Exploit ScenarioDerived

An application uses <x-dynamic-component> targeting a class-based component and binds user-controlled input (e.g., a query parameter or profile field) to an attribute that is not a constructor parameter, where the component template outputs {{ $attributes }}. An attacker supplies a value containing characters that break out of the HTML attribute context; when a victim loads the rendered page, the injected markup executes as script in their browser. No standalone weaponized exploit is published, but the fix PR includes a regression test demonstrating the exact escaping failure.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Cross-site scripting in Laravel's Blade compiler affects versions prior to 13.43.0 and 12.73.0: when a <x-dynamic-component> resolves to a class-based component and user-controlled data is passed through a bound attribute (:attr="$value") that is not one of that component's constructor parameters, the value is not HTML-escaped, so it can break out of the attribute context when the template renders {{ $attributes }}. Unauthenticated remote attackers can deliver the payload, but only through an application that combines that specific coding pattern, and a victim must load the resulting page; anonymous component targets and the same component rendered through its normal tag are unaffected. No public exploit code has been identified at time of analysis, and the impact is confined to the victim's browser session (Low confidentiality/integrity). Because compiled Blade views keep the vulnerable behavior after upgrading until they are cleared or recompiled, patched installs can remain exposed if the cache is not rebuilt.

RemediationAI

Upgrade the laravel/framework Composer package to 13.43.0 on the 13.x branch or 12.73.0 on the 12.x branch (fixes merged via PR 62455 and PR 62456; release tags v13.43.0 and v12.73.0 are referenced in the advisory at https://github.com/laravel/framework/security/advisories/GHSA-9966-43cq-4mpr). Upgrading alone is not sufficient: compiled Blade views retain the vulnerable compilation until they are rebuilt, so run php artisan view:clear or php artisan view:cache immediately after the upgrade - deploying without this step leaves existing cached templates exploitable. The advisory does not document any alternative compensating control, so the complete fix is the patched release combined with view recompilation; applications that cannot upgrade immediately should treat the affected template pattern (dynamic component resolving to a class-based component with user-controlled bound, non-constructor attributes rendered through {{ $attributes }}) as the exposure surface and inventory instances of it. Note that the advisory text states the fixes were merged on the 13.x and 12.x branches and were not confirmed as released at the time of that writing, while the release tags listed in the references confirm the 13.43.0 and 12.73.0 versions.

Affected VersionsENISA

framework 13.0.0, < 13.43.0
framework < 12.73.0

Affected Packages

composer laravel/framework fix: 12.73.0, 13.43.0
euvd framework fix: 12.73.0, 13.43.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in Laravel's Blade component tag compiler (Illuminate\View\Compilers\ComponentTagCompiler) and the DynamicComponent runtime class. When compiling <x-dynamic-component>, the compiler passes a $escapeAttributes flag that evaluates to false because the target class is DynamicComponent itself, so bound attribute values are emitted without HTML escaping; static (non-dynamic) component tags, and dynamic tags resolving to anonymous components, are escaped correctly. At render time DynamicComponent resolves the real target class, but the previously unescaped attribute string is handed to withAttributes(), so class-based components that expose {{ $attributes }} receive raw user input. The upstream fix records the names of bound attributes via a new withBoundAttributes() method, excludes that method from component method exposure, and in withAttributes() partitions data from attributes and re-sanitizes any bound, non-constructor attribute with BladeCompiler::sanitizeComponentAttribute() when the target class exists. This is CWE-79 (improper neutralization of input during web page generation): the root cause is an escaping inconsistency between the dynamic and static compilation paths rather than a parsing or memory-safety defect. The trigger requires the described template/component shape; the sources do not describe any other exploitation route.

Know when Laravel gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 4.2 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
vuln.today AI 4.2 MEDIUM

Network-reachable XSS needing no auth (PR:N) but a specific vulnerable Blade pattern (AC:H) and victim page load (UI:R); browser-scoped C:L/I:L, no availability impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Dec 03, 2026 - 20:05 EUVD
CVE Published
Dec 02, 2026 - 22:45 cve.org
MEDIUM 4.2

DescriptionCVE.org

Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, 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. Existing compiled views retain the vulnerable behavior until they are cleared or recompiled with php artisan view:clear or php artisan view:cache. This issue is fixed in versions 13.43.0 and 12.73.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
High
Laravel is among the most widely deployed PHP web frameworks
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

21
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +21
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2017-16894 HIGH POC
7.5 Nov 20

In Laravel framework through 5.5.21, remote attackers can obtain sensitive information (such as externally usable passwo

CVE-2025-54068 CRITICAL POC
9.8 Jul 17

Laravel Livewire v3 through v3.6.3 contains a critical remote code execution vulnerability (CVE-2025-54068, CVSS 9.8) th

CVE-2025-53833 CRITICAL POC
10.0 Jul 14

LaRecipe versions prior to 2.8.1 contain a Server-Side Template Injection (SSTI) vulnerability that can lead to Remote C

CVE-2026-28289 CRITICAL POC
10.0 Mar 03

File upload bypass in FreeScout 1.8.206 — patch bypass for CVE-2026-27636. PoC and patch available. CVSS 10.0.

CVE-2026-27636 HIGH POC
8.8 Feb 25

Remote code execution in FreeScout prior to version 1.8.206 allows authenticated users to upload `.htaccess` files that

CVE-2018-15133 HIGH POC
8.1 Aug 09

In Laravel Framework through 5.5.40 and 5.6.x through 5.6.29, remote code execution might occur as a result of an unseri

CVE-2025-70841 CRITICAL POC
10.0 Feb 03

Dokans SaaS e-commerce platform v3.9.2 has a CVSS 10.0 authentication bypass allowing unauthenticated attackers to obtai

CVE-2026-27637 CRITICAL POC
9.8 Feb 25

Predictable password reset tokens in FreeScout help desk before 1.8.206. Weak random number generation allows attackers

CVE-2026-21448 CRITICAL POC
9.8 Jan 02

Bagisto eCommerce platform before 2.3.10 is vulnerable to server-side template injection (SSTI) through customer address

CVE-2026-21446 CRITICAL POC
9.8 Jan 02

Bagisto eCommerce platform (2.3 branch before 2.3.10) leaves installation API routes active after setup, allowing unauth

CVE-2022-2870 CRITICAL POC
9.8 Aug 17

A vulnerability was found in laravel 5.1 and classified as problematic. Rated critical severity (CVSS 9.8), this vulnera

CVE-2026-114509 CRITICAL POC
9.2 Oct 21

Laravel TokenGuard authentication bypass is a genuine high-priority issue, not an inflated CVSS score: unauthenticated a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy