Stored Cross-site Scripting in results JSON API in librespeed/speedtest
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| librespeed | speedtest | 5.2.5 to before 5.3.1 | 5.3.1 | Patch available | CNA |
- speedtest Vendorlibrespeed Affected 5.2.5 to before 5.3.1 Fixed in 5.3.1 Patch available CNA
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:librespeed:speedtest:*:*:*:*:*:*:*:* | — | — | librespeed |
- cpe:2.3:a:librespeed:speedtest:*:*:*:*:*:*:*:* Versions — — ·librespeed
Remediation
- Fix · CNA speedtest (librespeed) Fixed in 5.3.1
Timeline
- 2026-10-02 Threatist record created from CVE-2024-32890
References
More librespeed vulnerabilities
- TI-2022-04546 librespeed speedtest stats.php cross site scripting CVSS 3.1MEDIUM 6.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences