CVE-2025-71385: Netdata < 2.3.1 - Reflected Cross-Site Scripting via love Parameter in ilove.svg Endpoint
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.
Security readout for executives and security teams
Plain-English summary
CVE-2025-71385 is a reflected cross-site scripting flaw in Netdata before 2.3.1. A specially crafted link to the ilove.svg endpoint could run browser script under the Netdata instance’s origin after user interaction. Business impact is usually limited, but exposed monitoring interfaces can increase risk to operational visibility and session integrity.
Executive priority
Treat as a timely hygiene fix, not a crisis. Prioritize externally reachable Netdata instances and shared administrative environments, then fold remaining upgrades into normal patch cycles.
Technical view
Netdata api/v2/ilove.svg and api/v3/ilove.svg reflected the love query parameter into an SVG text element without HTML/XML escaping and served it as image/svg+xml. The endpoints were registered with HTTP_ACL_NOCHECK and could be anonymous on default agents. Netdata resolved this by removing the ilove endpoint in 2.3.1.
Likely exposure
Likely exposure is Netdata agents before 2.3.1 where the api/v2 or api/v3 ilove.svg endpoints are reachable by users’ browsers. Risk is higher for internet-accessible or broadly reachable Netdata instances, especially where default anonymous access remains enabled.
Exploitation context
Sources describe reflected XSS requiring victim interaction with a crafted URL. The bundle marks KEV as false, and no cited source establishes active exploitation in the wild.
Researcher notes
The core issue is unsafely reflected user input inside SVG served as active browser content. The access-control detail matters because HTTP_ACL_NOCHECK and default bearer-token behavior can make the vulnerable endpoint unauthenticated. Evidence supports the fixed direction, but not active exploitation.
Mitigation direction
Upgrade Netdata to version 2.3.1 or later.
Confirm the ilove.svg endpoint is removed or unreachable.
Restrict Netdata access to trusted networks or authenticated users.
Review vendor guidance for supported hardening and access-control settings.
Avoid exposing Netdata agents directly to the internet.
Validation and detection
Inventory Netdata versions and prioritize anything before 2.3.1.
Check whether api/v2/ilove.svg or api/v3/ilove.svg is reachable.
Review Netdata access logs for ilove.svg requests with love parameters.
Verify monitoring interfaces require appropriate authentication or network controls.
Confirm remediation through version evidence and endpoint behavior.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.