{"id":"CVE-2025-71385","title":"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 respo…","summary":"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 respo…","severity":"medium","cvss":6.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","cwe":["CWE-79"],"vendor":"netdata","product":"netdata","affected":["netdata < 2.3.1"],"patched":["netdata 2.3.1"],"published":"2026-07-02","updated":"2026-09-30","sourceUpdated":"2026-09-30T15:10:00.560","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-71385","references":[{"url":"https://github.com/netdata/netdata/commit/f82554fe9b21b5ae51a8663a3f4ddce84cac16af","label":"disclosure@vulncheck.com"},{"url":"https://github.com/netdata/netdata/pull/19919","label":"disclosure@vulncheck.com"},{"url":"https://github.com/netdata/netdata/releases/tag/v2.3.1","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/netdata-reflected-cross-site-scripting-via-love-parameter-in-ilove-svg-endpoint","label":"disclosure@vulncheck.com"}],"tags":["nvd"],"epss":0.0043,"epssPercentile":0.34843,"ingestedAt":"2026-09-30T16:10:06.660Z","slug":"CVE-2025-71385","body":"## Overview\n\nNetdata 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.\n\n## Affected\n\n- `netdata < 2.3.1`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `netdata 2.3.1`","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}