CVE-2025-71385

Netdata < 2.3.1 - Reflected Cross-Site Scripting via love Parameter in ilove.svg Endpoint

Published Jul 2, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Netdata versions prior to 2.3.1 generate an SVG image at the /api/v2/ilove.svg and /api/v3/ilove.svg endpoints. The user‑supplied "love" parameter is inserted verbatim into a text element of the SVG without HTML or XML escaping, creating a Reflected Cross‑Site Scripting (CWE‑79) vulnerability. The response is served with Content‑Type image/svg+xml, so a crafted value such as <script>...</script> will be executed in the victim’s browser in the origin of the Netdata instance. Based on the description, it is inferred that the vulnerability can be exploited by an attacker who provides a malicious value for the love parameter in a URL that a victim visits; because the endpoints are publicly accessible, the injected script runs in the victim’s browser.

Affected Systems

All installations of Netdata running a version older than 2.3.1 are affected. The vulnerable API endpoints are /api/v2/ilove.svg and /api/v3/ilove.svg. These endpoints are registered with HTTP_ACL_NOCHECK and allow anonymous access, and bearer‑token protection is disabled by default, making them reachable without authentication on a default Netdata agent.

Risk and Exploitability

The CVSS score of 5.1 indicates medium severity, while the EPSS score of less than 1% points to a very low but non‑zero likelihood of exploitation. Since the endpoints are publicly accessible, an attacker needs to entice a victim to visit a malicious URL that embeds JavaScript in the love parameter; the victim’s browser will execute the script. The vulnerability is not listed in the CISA KEV catalog, suggesting no publicly known exploits to date.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Netdata to version 2.3.1 or later, which removes the ilove.svg endpoint and fixes the vulnerability
  • If an upgrade cannot be performed immediately, block access to /api/v2/ilove.svg and /api/v3/ilove.svg using a firewall rule or reverse‑proxy configuration to prevent anonymous access
  • Monitor traffic for attempts to hit the ilove.svg endpoints and enforce the block until the upgrade can be applied
  • Consider disabling anonymous access or requiring bearer‑token protection on Netdata to reduce the attack surface

Generated by OpenCVE AI on July 31, 2026 at 14:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Netdata < 2.3.1 - Reflected Cross-Site Scripting via love Parameter in ilove.svg Endpoint
First Time appeared Netdata
Netdata netdata
Weaknesses CWE-79
CPEs cpe:2.3:a:netdata:netdata:*:*:*:*:*:*:*:*
Vendors & Products Netdata
Netdata netdata
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:00 PM
Reserved
Jul 1, 2026, 3:52 PM
Status
Analyzed
Published
Jul 2, 2026, 8:17 PM
Modified
Oct 12, 2026, 9:10 PM