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

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 52% of CVEs (2026-11-30)
- Published: 2024-09-17T18:22:32.937Z
- Modified: 2026-06-17T07:54:50.940Z
- Also known as: GHSA-rw5h-g8xq-6877
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- wireui wireui: < 1.19.3; >= 2.0.0, < 2.1.3; before 1.19.3; from 2.0.0 before 2.1.3
- wireui/wireui (Packagist): before 1.19.3; from 2.0.0 before 2.1.3

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `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`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/wireui/wireui/security/advisories/GHSA-rw5h-g8xq-6877> (third-party-advisory, web)
- <https://github.com/wireui/wireui/commit/784c4f110e58eb41d0f2bdecd4655ea417f16e7e> (patch, web)
- <https://github.com/wireui/wireui/commit/a457654912055f4dcc559da04d4e319f76b80fc5> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-45803> (advisory)
- <https://github.com/wireui/wireui> (package)

## Sources

- CVE List: [CVE-2024-45803](https://www.cve.org/CVERecord?id=CVE-2024-45803), CVE Terms of Use, modified 2024-09-18
- GitHub Advisory Database: [GHSA-rw5h-g8xq-6877](https://github.com/advisories/GHSA-rw5h-g8xq-6877), CC-BY-4.0, modified 2024-09-17
- NVD: [CVE-2024-45803](https://nvd.nist.gov/vuln/detail/CVE-2024-45803), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-45803 · Whole record: https://cve.day/CVE-2024-45803.json · Rebuilt by cve.day 2026-11-25T22:58:45.513Z
