Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS13NXJxLWc5cjYtdnJjZ84ABBym

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

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

Who is impacted?
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.

Patches
The vulnerability has been patched in 2.5.5 by ensuring proper sanitization and escaping of user input in the affected URL parameters.

Users are strongly encouraged to upgrade to the following versions:

Workarounds
If upgrading is not immediately possible, users can implement the following workarounds:

References

Permalink: https://github.com/advisories/GHSA-w5rq-g9r6-vrcg
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13NXJxLWc5cjYtdnJjZ84ABBym
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 15 days ago
Updated: 15 days ago


CVSS Score: 8.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

EPSS Percentage: 0.00043
EPSS Percentile: 0.10511

Identifiers: GHSA-w5rq-g9r6-vrcg, CVE-2024-53843
References: Repository: https://github.com/DapperDuckling/keycloak-connector
Blast Radius: 1.0

Affected Packages

npm:@dapperduckling/keycloak-connector-server
Dependent packages: 2
Dependent repositories: 0
Downloads: 698 last month
Affected Version Ranges: < 2.5.5
Fixed in: 2.5.5
All affected versions: 0.0.14, 0.0.15, 0.0.16, 0.0.17, 0.0.18, 0.0.19, 0.0.20, 0.0.21, 0.0.22, 0.0.23, 0.0.25, 0.0.26, 0.0.30, 0.0.31, 0.0.32, 0.0.34, 0.0.38, 0.0.39, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.9, 1.0.10, 1.0.11, 1.0.12, 1.0.13, 1.0.14, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.2.0, 1.2.1, 1.2.3, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.5.1, 1.5.2, 2.0.0, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.5.0
All unaffected versions: