Read the Docs vulnerable to Cross-Site Scripting (XSS)
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.
Summary
### Impact This vulnerability allowed a malicious user to serve arbitrary HTML files from the main application domain (readthedocs[.]org/readthedocs[.]com) by exploiting a vulnerability in the code that serves downloadable content from a project. Exploiting this would have required the attacker to get a logged-in user to visit the malicious URL, which would have allowed the attacker to take control of the user's session with JavaScript (making requests to the API/site on behalf of the user). This URL would have looked something like `hxxps[:]//readthedocs[.]org/projects/attacker-project/downloads/html/version-with-javascript-attack/`. ### Patches This issue has been patched in our 8.8.1 release.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | readthedocs (npm) | before 8.8.1 | 8.8.1 | Patch available | GHSA-98pf-gfh3-x3mp |
- readthedocs (npm) Vendor— Affected before 8.8.1 Fixed in 8.8.1 Patch available GHSA-98pf-gfh3-x3mp
Remediation
- Fix · GHSA-98pf-gfh3-x3mp readthedocs (npm) Fixed in 8.8.1 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-98pf-gfh3-x3mp
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences