# CVE-2024-53843: Reflected XSS Vulnerability in Authentication Flow URL Handling in @dapperduckling/keycloak-connector-server

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A: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.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2024-11-25T23:18:59.029Z
- Modified: 2026-06-17T08:09:24.140Z
- Also known as: GHSA-w5rq-g9r6-vrcg
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

@dapperduckling/keycloak-connector-server is an opinionated series of libraries for Node.js applications and frontend clients to interface with keycloak. A Reflected Cross-Site Scripting (XSS) vulnerability was discovered in the authentication flow of the application. This issue arises due to improper sanitization of the URL parameters, allowing the URL bar's contents to be injected and reflected into the HTML page. An attacker could craft a malicious URL to execute arbitrary JavaScript in the browser of a victim who visits the link. Any application utilizing this authentication library is vulnerable. Users of the application are at risk if they can be lured into clicking on a crafted malicious link. The vulnerability has been patched in version 2.5.5 by ensuring proper sanitization and escaping of user input in the affected URL parameters. Users are strongly encouraged to upgrade. If upgrading is not immediately possible, users can implement the following workarounds: 1. Employ a Web Application Firewall (WAF) to block malicious requests containing suspicious URL parameters. or 2. Apply input validation and escaping directly within the application’s middleware or reverse proxy layer, specifically targeting the affected parameters.

(As written by CVE List.)

## Affected

- DapperDuckling keycloak-connector: < 2.5.5
- cloud_native_computing_foundation keycloak-connector: before 2.5.5
- @dapperduckling/keycloak-connector-server (npm): before 2.5.5

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`

## References

- <https://github.com/DapperDuckling/keycloak-connector/security/advisories/GHSA-w5rq-g9r6-vrcg> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-53843> (advisory)
- <https://github.com/DapperDuckling/keycloak-connector> (package)

## Sources

- CVE List: [CVE-2024-53843](https://www.cve.org/CVERecord?id=CVE-2024-53843), CVE Terms of Use, modified 2024-11-26
- GitHub Advisory Database: [GHSA-w5rq-g9r6-vrcg](https://github.com/advisories/GHSA-w5rq-g9r6-vrcg), CC-BY-4.0, modified 2024-11-26
- NVD: [CVE-2024-53843](https://nvd.nist.gov/vuln/detail/CVE-2024-53843), Public domain, modified 2026-06-17

---

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