# CVE-2024-45803: Cross site scripting (XSS) Vulnerability on route /wireui/button?label=Content in wireui

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.1
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 51, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-rw5h-g8xq-6877
- **Published:** 2024-09-17T18:22:32.937Z
- **Modified:** 2026-06-17T07:54:50.940Z

## 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

## 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

- Packagist `wireui/wireui`: affected \< 1.19.3; fixed 1.19.3, 2.1.3 (osv)
- wireui: \< 1.19.3; \>= 2.0.0, \< 2.1.3 (cvelist)

## Mitigation

- Upgrade wireui/wireui to one of 1.19.3, 2.1.3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/wireui/wireui/security/advisories/GHSA-rw5h-g8xq-6877>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-45803>
- patch: <https://github.com/wireui/wireui/commit/784c4f110e58eb41d0f2bdecd4655ea417f16e7e>
- patch: <https://github.com/wireui/wireui/commit/a457654912055f4dcc559da04d4e319f76b80fc5>
- other: <https://github.com/wireui/wireui>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-45803>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rw5h-g8xq-6877> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-45803> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-45803>
