CVE-2024-53843
Reflected XSS Vulnerability in Authentication Flow URL Handling in @dapperduckling/keycloak-connector-server
Also known as GHSA-w5rq-g9r6-vrcg
Mitigation
- Upgrade @dapperduckling/keycloak-connector-server to 2.5.5 or later.
Who should check
- Projects that depend on npm package @dapperduckling/keycloak-connector-server (< 2.5.5)
- Anyone running DapperDuckling keycloak-connector < 2.5.5
Vulnerability facts
- Affected
- @dapperduckling/keycloak-connector-server < 2.5.5
- Fixed in
- 2.5.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.79% chance of exploitation in 30 days (percentile 53, 2026-11-26)
- CWE
- CWE-79
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @dapperduckling/keycloak-connector-server | < 2.5.5 | 2.5.5 | osv |
| DapperDuckling keycloak-connector | < 2.5.5 | — | 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-53843. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-53843.md Affected: @dapperduckling/keycloak-connector-server < 2.5.5 Fixed in: 2.5.5 Steps: 1. Search this machine and project for @dapperduckling/keycloak-connector-server (npm), DapperDuckling keycloak-connector: 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
FAQ
Is CVE-2024-53843 being exploited?
There is no confirmed exploitation: CVE-2024-53843 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.79% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-53843?
High: CVSS 8.1 (v3.1, 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-53843?
@dapperduckling/keycloak-connector-server < 2.5.5.
Is there a fix for CVE-2024-53843?
Yes. Fixed in 2.5.5. Upgrade @dapperduckling/keycloak-connector-server to 2.5.5 or later.
How do I check if I'm affected by CVE-2024-53843?
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.