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.
Published: 2026-07-02
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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. 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.

Generated by OpenCVE AI on July 21, 2026 at 10:56 UTC.

Remediation

No vendor fix or workaround currently provided.

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 21, 2026 at 10:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 02 Jul 2026 20:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:26:10.145Z

Reserved: 2026-07-01T15:52:12.626Z

Link: CVE-2025-71385

cve-icon Vulnrichment

Updated: 2026-07-06T16:38:28.528Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T11:00:05Z

Weaknesses
  • CWE-79

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