CVE Catalog

CVE-2025-42620

HighCVSS 8.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.29%

20th percentile - higher than 20% of all known CVEs

Summary

In Vulnerability-Lookup versions before 2.18.0, a stored XSS vulnerability exists. The backend does not validate or sanitize the related_vulnerabilities field in bundles, and the frontend converts comment and bundle descriptions from Markdown to HTML and injects them directly into the DOM using innerHTML. An attacker who can create or edit comments or bundles can store malicious HTML/JavaScript that will execute in the browser of any user visiting the affected profile page (user.html).

Risk Assessment

An attacker can execute arbitrary JavaScript in the victim's browser, potentially leading to session theft, account takeover, or other actions on behalf of the user. The risk affects all users visiting infected profile pages.

Recommendation

Update Vulnerability-Lookup to version 2.18.0 or later. Additionally, implement input sanitization and avoid using innerHTML for content injection.

Other vulnerabilities in Vulnerability-Lookup

See all
Original NVD description (English source)

In affected versions, vulnerability-lookup handled user-controlled content in comments and bundles in an unsafe way, which could lead to stored Cross-Site Scripting (XSS). On the backend, the related_vulnerabilities field of bundles accepted arbitrary strings without format validation or proper sanitization. On the frontend, comment and bundle descriptions were converted from Markdown to HTML and then injected directly into the DOM using string templates and innerHTML. This combination allowed an attacker who could create or edit comments or bundles to store crafted HTML/JavaScript payloads which would later be rendered and executed in the browser of any user visiting the affected profile page (user.html).  This issue affects Vulnerability-Lookup: before 2.18.0.

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