Vulnerability · Published May 1, 2024 · Assigned by GitHub_M
CVE-2024-32890Stored Cross-site Scripting in results JSON API in librespeed/speedtest
Medium 6.1
In plain English
A medium-severity cross-site scripting in speedtest from librespeed. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| librespeed | speedtest | >= 5.2.5, < 5.3.1 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/librespeed/speedtest/security/advisories/GHSA-3954-xrwh-fq4q x_refsource_CONFIRM
- https://github.com/librespeed/speedtest/commit/3937b940e80b734acae36cd41a2a31819593e728 x_refsource_MISC
- https://github.com/librespeed/speedtest/commit/dd1ce2cb8830d94dcaa0b8e70b9406144a0e5f8d x_refsource_MISC