CVE-2024-45803
Cross site scripting (XSS) Vulnerability on route /wireui/button?label=Content in wireui
Also known as GHSA-rw5h-g8xq-6877
Mitigation
- Upgrade wireui/wireui to one of 1.19.3, 2.1.3 (or later in the same release line).
Who should check
- Projects that depend on Packagist package wireui/wireui (< 1.19.3)
- Anyone running wireui < 1.19.3; >= 2.0.0, < 2.1.3
Vulnerability facts
- Affected
- wireui/wireui < 1.19.3
- Fixed in
- 1.19.3, 2.1.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.1 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: Active
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: Low
- Integrity impact on other systems: Low
- Availability impact on other systems: None
- EPSS
- 0.76% chance of exploitation in 30 days (percentile 51, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
Wire UI is a library of components and resources to empower Laravel and Livewire application development. A potential Cross-Site Scripting (XSS) vulnerability has been identified in the `/wireui/button` endpoint, specifically through the `label` query parameter. Malicious actors could exploit this vulnerability by injecting JavaScript into the `label` parameter, leading to the execution of arbitrary code in the victim's browser. The `/wireui/button` endpoint dynamically renders button labels based on user-provided input via the `label` query parameter. Due to insufficient sanitization or escaping of this input, an attacker can inject malicious JavaScript. By crafting such a request, an attacker can inject arbitrary code that will be executed by the browser when the endpoint is accessed. If exploited, this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the affected website. This could lead to: **Session Hijacking**: Stealing session cookies, tokens, or other sensitive information. **User Impersonation**: Performing unauthorized actions on behalf of authenticated users. **Phishing**: Redirecting users to malicious websites. **Content Manipulation**: Altering the appearance or behavior of the affected page to mislead users or execute further attacks. The severity of this vulnerability depends on the context of where the affected component is used, but in all cases, it poses a significant risk to user security. This issue has been addressed in release versions 1.19.3 and 2.1.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist wireui/wireui | < 1.19.3 | 1.19.3, 2.1.3 | osv |
| wireui | < 1.19.3; >= 2.0.0, < 2.1.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-45803. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-45803.md Affected: wireui/wireui < 1.19.3 Fixed in: 1.19.3, 2.1.3 Steps: 1. Search this machine and project for wireui/wireui (Packagist), wireui: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2024-45803 being exploited?
There is no confirmed exploitation: CVE-2024-45803 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-45803?
Medium: CVSS 5.1 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2024-45803?
wireui/wireui < 1.19.3.
Is there a fix for CVE-2024-45803?
Yes. Fixed in 1.19.3, 2.1.3. Upgrade wireui/wireui to one of 1.19.3, 2.1.3 (or later in the same release line).
How do I check if I'm affected by CVE-2024-45803?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.