Read the docs
TI-2022-26674 Aliases GHSA-98pf-gfh3-x3mp

Read the Docs vulnerable to Cross-Site Scripting (XSS)

Priority LOW 38CWE-79Published · Updated

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

Fix Fixed readthedocs (npm): 8.8.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—readthedocs (npm)before 8.8.18.8.1Patch availableGHSA-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

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