GHSA-xgfm-fjx6-62mj
readthedocs-sphinx-search vulnerable to cross-site scripting when including search results from malicious projects
GHSA-xgfm-fjx6-62mj is a medium vulnerability (CVSS 6.3) in readthedocs-sphinx-search, published January 16, 2024. No source lists public exploit code. Fixed in readthedocs-sphinx-search 0.3.2.
- Severity
- 6.3 MediumCVSS 3.1, GitHub Advisories
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
0.3.2readthedocs-sphinx-search +1 more
Description
Impact
This vulnerability could have allowed an attacker to include arbitrary HTML content in search results by having a user search a malicious project. This was due to our search client not correctly escaping all user content from search results. You can find more information in the advisory published in our readthedocs.org repo.
Users of this extension should update to the 0.3.2 version, and trigger a new build.
This issue was discovered by a member of our team, and we have seen no signs that this vulnerability was exploited in the wild.
Patches
This issue has been patched in our 0.3.2 version.
References
For more information
If you have any questions or comments about this advisory, email us at security@readthedocs.org (PGP)
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Affected packages
| Package | Affected | Fixed |
|---|---|---|
readthedocs-sphinx-searchPyPI | through 0.3.1 | 0.3.2 |
readthedocs-sphinx-searchPyPI | before 0.3.2, plus listed versions 0.1.00.1.0rc10.1.0rc20.1.0rc30.1.1 Show 4 moreShow less0.1.20.2.00.3.00.3.1 | 0.3.2 |
What each source reports
GitHub Advisories Score used 6.3
readthedocs-sphinx-search vulnerable to cross-site scripting when including search results from malicious projects
Impact
This vulnerability could have allowed an attacker to include arbitrary HTML content in search results by having a user search a malicious project. This was due to our search client not correctly escaping all user content from search results. You can find more information in the advisory published in our readthedocs.org repo.
Users of this extension should update to the 0.3.2 version, and trigger a new build.
This issue was discovered by a member of our team, and we have seen no signs that this vulnerability was exploited in the wild.
Patches
This issue has been patched in our 0.3.2 version.
References
For more information
If you have any questions or comments about this advisory, email us at security@readthedocs.org (PGP)
- Record
GHSA-xgfm-fjx6-62mj- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV 6.3
readthedocs-sphinx-search vulnerable to cross-site scripting when including search results from malicious projects
Impact
This vulnerability could have allowed an attacker to include arbitrary HTML content in search results by having a user search a malicious project. This was due to our search client not correctly escaping all user content from search results. You can find more information in the advisory published in our readthedocs.org repo.
Users of this extension should update to the 0.3.2 version, and trigger a new build.
This issue was discovered by a member of our team, and we have seen no signs that this vulnerability was exploited in the wild.
Patches
This issue has been patched in our 0.3.2 version.
References
For more information
If you have any questions or comments about this advisory, email us at security@readthedocs.org (PGP)
- Record
GHSA-xgfm-fjx6-62mj- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.