CVE-2025-42620
JSON

8.3high

CSRF vulnerability in CIRCL Vulnerability-Lookup

Severity
8.3high CVSS:4.0 by ENISA
Exploit likelihood
0.31% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
ENISA

Description

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.

Affected

Product or packageVersionsReported by
CIRCL Vulnerability-Lookupbefore 2.18.0CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En las versiones afectadas, vulnerability-lookup manejaba contenido controlado por el usuario en comentarios y paquetes de una manera insegura, lo que podría llevar a cross-site scripting (XSS) almacenado. En el backend, el campo related_vulnerabilities de los paquetes aceptaba cadenas arbitrarias sin validación de formato o saneamiento adecuado. En el frontend, las descripciones de comentarios y paquetes se convertían de Markdown a HTML y luego se inyectaban directamente en el DOM usando plantillas de cadena e innerHTML. Esta combinación permitía a un atacante que pudiera crear o editar comentarios o paquetes almacenar cargas útiles de HTML/JavaScript elaboradas que luego serían renderizadas y ejecutadas en el navegador de cualquier usuario que visitara la página de perfil afectada (user.html). Este problema afecta a Vulnerability-Lookup: antes de 2.18.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-42620 changed 2025-12-08CVE Terms of Use
NVDCVE-2025-42620 changed 2026-10-14Public domain