What’s Vulnerable › Vulnerabilities
CVE-2024-32890: Stored Cross-site Scripting in results JSON API in librespeed/speedtest
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-01 · updated 2026-06-17
- Weakness: CWE-79
Description
librespeed/speedtest is an open source, self-hosted speed test for HTML5. In affected versions missing neutralization of the ISP information in a speedtest result leads to stored Cross-site scripting in the JSON API. The `processedString` field in the `ispinfo` parameter is missing neutralization. It is stored when a user submits a speedtest result to the telemetry API (`results/telemetry.php`) and returned in the JSON API (`results/json.php`). This vulnerability has been introduced in commit 3937b94. This vulnerability affects LibreSpeed speedtest instances running version 5.2.5 or higher which have telemetry enabled and has been addressed in version 5.3.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
- librespeed speedtest: from 5.2.5 before 5.3.1 — fixed in 5.3.1
How to fix
Upgrade to a fixed version: librespeed speedtest 5.3.1. Check the vendor advisory for mitigations.
References
- https://github.com/librespeed/speedtest/commit/3937b940e80b734acae36cd41a2a31819593e728
- https://github.com/librespeed/speedtest/commit/dd1ce2cb8830d94dcaa0b8e70b9406144a0e5f8d
- https://github.com/librespeed/speedtest/security/advisories/GHSA-3954-xrwh-fq4q
- https://github.com/librespeed/speedtest/commit/3937b940e80b734acae36cd41a2a31819593e728
- https://github.com/librespeed/speedtest/commit/dd1ce2cb8830d94dcaa0b8e70b9406144a0e5f8d
- https://github.com/librespeed/speedtest/security/advisories/GHSA-3954-xrwh-fq4q
Get alerted when CVE-2024-32890 or the next vulnerability affects your stack