5.1medium
Netdata < 2.3.1 - Reflected Cross-Site Scripting via love Parameter in ilove.svg Endpoint
- Severity
- 5.1medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Netdata before 2.3.1 reflects the user-supplied love query parameter of the api/v2/ilove.svg and api/v3/ilove.svg endpoints verbatim into the generated SVG document (into a text element) without HTML or XML escaping, and serves the response with Content-Type image/svg+xml. An attacker can craft a URL such as /api/v2/ilove.svg?love=<script>...</script>; when a victim navigates to it the injected script executes in the victim browser in the origin of the Netdata instance (reflected cross-site scripting). These endpoints are registered with HTTP_ACL_NOCHECK and anonymous access and, because bearer-token protection is disabled by default, are reachable without authentication on a default Netdata agent. The issue was resolved by removing the ilove endpoint.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| netdata netdata | before 2.3.1 | CVE List, NVD |
All scores
| VulnCheck | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| VulnCheck | 5.1medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Netdata before 2.3.1 reflects the user-supplied love query parameter of the api/v2/ilove.svg and api/v3/ilove.svg endpoints verbatim into the generated SVG document (into a text element) without HTML or XML escaping, and serves the response with Content-Type image/svg+xml. An attacker can craft a URL such as /api/v2/ilove.svg?love=<script>...</script>; when a victim navigates to it the injected script executes in the victim browser in the origin of the Netdata instance (reflected cross-site scripting). These endpoints are registered with HTTP_ACL_NOCHECK and anonymous access and, because bearer-token protection is disabled by default, are reachable without authentication on a default Netdata agent. The issue was resolved by removing the ilove endpoint.
NVD (es)
Netdata anterior a 2.3.1 refleja el parámetro de consulta 'love' proporcionado por el usuario de los endpoints API/v2/ilove.svg y API/v3/ilove.svg textualmente en el documento SVG generado (en un elemento de texto) sin escape HTML o XML, y sirve la respuesta con Content-Type image/svg+xml. Un atacante puede crear una URL como /API/v2/ilove.svg?love=<script>...</script>; cuando una víctima navega a ella, el script inyectado se ejecuta en el navegador de la víctima en el origen de la instancia de Netdata (cross-site scripting reflejado). Estos endpoints están registrados con HTTP_ACL_NOCHECK y acceso anónimo y, debido a que la protección de token de portador está deshabilitada por defecto, son accesibles sin autenticación en un agente Netdata predeterminado. El problema se resolvió eliminando el endpoint 'ilove'.
References
| https://github.com/netdata/netdata/releases/tag/v2.3.1 | product, release-notes | |
| https://github.com/netdata/netdata/pull/19919 | issue-tracking, patch | |
| https://github.com/netdata/netdata/commit/f82554fe9b21b5ae51a8663a3f4ddce84cac16af | patch | |
| https://www.vulncheck.com/advisories/netdata-reflected-cross-site-scripting-via-love-parameter-in-ilove-svg-endpoint | patch, release-notes, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-71385 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2025-71385 changed 2026-10-12 | Public domain |