Read the docs
TI-2024-36039 Aliases CVE-2024-53843GHSA-w5rq-g9r6-vrcg

Reflected XSS Vulnerability in Authentication Flow URL Handling in @dapperduckling/keycloak-connector-server

Priority LOW 38CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00539 45th percentileScored 2026-11-07
Fix Fixed keycloak-connector (DapperDuckling): 2.5.5@dapperduckling/keycloak-connector-server (npm): 2.5.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
DapperDucklingkeycloak-connectorbefore 2.5.52.5.5Patch availableCNA
—@dapperduckling/keycloak-connector-server (npm)before 2.5.52.5.5Patch availableGHSA-w5rq-g9r6-vrcg
  • keycloak-connector VendorDapperDuckling Affected before 2.5.5 Fixed in 2.5.5 Patch available CNA
  • @dapperduckling/keycloak-connector-server (npm) Vendor— Affected before 2.5.5 Fixed in 2.5.5 Patch available GHSA-w5rq-g9r6-vrcg

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:cloud_native_computing_foundation:keycloak-connector:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:cloud_native_computing_foundation:keycloak-connector:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

  • Fix · CNA keycloak-connector (DapperDuckling) Fixed in 2.5.5
  • Fix · GHSA-w5rq-g9r6-vrcg @dapperduckling/keycloak-connector-server (npm) Fixed in 2.5.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-53843
  2. 2026-10-03 Alias added: GHSA-w5rq-g9r6-vrcg

References

Sources