Skip to main content
Public proof of conceptFix available

CVE-2024-21504

A public proof of concept exists; no exploitation attested.

  • Published2024-03-19
  • Fixed in3.4.9
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Versions of the package livewire/livewire from 3.3.5 and before 3.4.9 are vulnerable to Cross-site Scripting (XSS) when a page uses [Url] for a property. An attacker can inject HTML code in the context of the user's browser session by crafting a malicious link and convincing the user to click on it.

Timeline

dates in UTC
  1. 2024-03-1905:15CVE publishedNVD

Versions per branch

CISA-ADP · OSV · NVD
Laravel livewire
BranchAffectedFixed in
3.x≥ 3.3.5, < 3.4.93.4.9
3.x≥ 3.3.5, ≤ 3.4.9no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As snyk, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • livewire/livewire
    Affected
    • ≥ 3.3.5, < 3.4.9fixed in 3.4.9semver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-03-19

Fix

  1. Update Laravel livewire to 3.4.9

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionpoc2024-08-27
  • CNACVSS 3.16.1known since 2026-10-23
  • CNAweakness (CWE)CWE-79known since 2026-10-23
  • FIRST EPSSEPSS score0.5 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2024-03-20

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
2024-03-19
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-389c-cf87-qmwj

Frequently asked questions

What is CVE-2024-21504?

Versions of the package livewire/livewire from 3.3.5 and before 3.4.9 are vulnerable to Cross-site Scripting (XSS) when a page uses [Url] for a property. An attacker can inject HTML code in the context of the user's browser session by crafting a malicious link and convincing the user to click on it.

Is CVE-2024-21504 actively exploited?

A proof-of-concept exploit exists for CVE-2024-21504, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-21504?

CVE-2024-21504 has a CVSS v3 base score of 6.1 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Running livewire/livewire? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record