{"id":"UBUNTU-CVE-2025-71385","details":"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=\u003cscript\u003e...\u003c/script\u003e; 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.","modified":"2026-07-09T15:15:36Z","published":"2026-07-02T20:17:00Z","upstream":["CVE-2025-71385"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-71385"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-71385"},{"type":"REPORT","url":"https://github.com/netdata/netdata/commit/f82554fe9b21b5ae51a8663a3f4ddce84cac16af"},{"type":"REPORT","url":"https://github.com/netdata/netdata/pull/19919"},{"type":"REPORT","url":"https://github.com/netdata/netdata/releases/tag/v2.3.1"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/netdata-reflected-cross-site-scripting-via-love-parameter-in-ilove-svg-endpoint"}],"affected":[{"package":{"name":"netdata","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/netdata?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0+dfsg-1","1.8.0+dfsg-1","1.9.0+dfsg-1","1.9.0+dfsg-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"netdata","binary_version":"1.9.0+dfsg-1ubuntu0.1~esm1"},{"binary_name":"netdata-data","binary_version":"1.9.0+dfsg-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71385.json"}},{"package":{"name":"netdata","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/netdata?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.1-2","1.19.0-3ubuntu1","1.19.0-3ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"netdata","binary_version":"1.19.0-3ubuntu1+esm1"},{"binary_name":"netdata-apache2","binary_version":"1.19.0-3ubuntu1+esm1"},{"binary_version":"1.19.0-3ubuntu1+esm1","binary_name":"netdata-core"},{"binary_name":"netdata-plugins-bash","binary_version":"1.19.0-3ubuntu1+esm1"},{"binary_version":"1.19.0-3ubuntu1+esm1","binary_name":"netdata-plugins-nodejs"},{"binary_name":"netdata-plugins-python","binary_version":"1.19.0-3ubuntu1+esm1"},{"binary_version":"1.19.0-3ubuntu1+esm1","binary_name":"netdata-web"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71385.json"}},{"package":{"name":"netdata","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/netdata?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.29.3-4","1.31.0-4","1.33.1-1ubuntu1","1.33.1-1ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"netdata","binary_version":"1.33.1-1ubuntu1+esm1"},{"binary_name":"netdata-apache2","binary_version":"1.33.1-1ubuntu1+esm1"},{"binary_name":"netdata-core","binary_version":"1.33.1-1ubuntu1+esm1"},{"binary_name":"netdata-plugins-bash","binary_version":"1.33.1-1ubuntu1+esm1"},{"binary_name":"netdata-plugins-nodejs","binary_version":"1.33.1-1ubuntu1+esm1"},{"binary_name":"netdata-plugins-python","binary_version":"1.33.1-1ubuntu1+esm1"},{"binary_name":"netdata-web","binary_version":"1.33.1-1ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71385.json"}},{"package":{"name":"netdata","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/netdata?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.42.1-1","1.43.1-1","1.43.2-1","1.43.2-1build1","1.43.2-1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.43.2-1build2","binary_name":"netdata"},{"binary_name":"netdata-apache2","binary_version":"1.43.2-1build2"},{"binary_version":"1.43.2-1build2","binary_name":"netdata-core"},{"binary_version":"1.43.2-1build2","binary_name":"netdata-plugins-bash"},{"binary_version":"1.43.2-1build2","binary_name":"netdata-plugins-python"},{"binary_name":"netdata-web","binary_version":"1.43.2-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71385.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}