CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2024-53843

High
Published: Translated: NVD NIST

Summary

W bibliotece @dapperduckling/keycloak-connector-server odkryto podatność typu Reflected Cross-Site Scripting (XSS) w procesie uwierzytelniania. Problem wynika z niewłaściwego oczyszczania parametrów URL, co pozwala na wstrzyknięcie złośliwego kodu JavaScript do przeglądarki ofiary.

Risk Assessment

Organizacje korzystające z tej biblioteki są narażone na ataki, w których użytkownicy mogą zostać skuszeni do kliknięcia w złośliwy link, co prowadzi do wykonania nieautoryzowanego kodu w ich przeglądarkach.

Recommendation

Zaleca się aktualizację do wersji 2.5.5, która naprawia tę podatność poprzez właściwe oczyszczanie i ucieczkę danych wejściowych. Jeśli aktualizacja nie jest możliwa, należy wdrożyć odpowiednie obejścia, takie jak stosowanie Web.

Related vulnerabilities

Original NVD description (English source)

@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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS