Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-xgfm-fjx6-62mj — readthedocs-sphinx-search

⚪ Unknown ✅ No Known Exploit CWE-79 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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](https://github.com/readthedocs/readthedocs.org/security/advisories/GHSA-qhqx-5j25-rv48).

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

  • https://github.com/readthedocs/readthedocs-sphinx-search/commit/8c6f6d01e88e72ef32ed0c220b6c19d1e1121c73

For more information

If you have any questions or comments about this advisory, email us at [[email protected]](mailto:[email protected]) ([PGP](https://docs.readthedocs.io/page/security.html#pgp-key))

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity low, availability none.

Weakness class

GHSA-xgfm-fjx6-62mj is classified as CWE-79: Cross-site Scripting (XSS). User-supplied data is written into a page without escaping, so attacker script runs in the browser of anyone who views it.

Affected software

GHSA-xgfm-fjx6-62mj is recorded against 1 package.

  • readthedocs-sphinx-search (fixed in 0.3.2)

Timeline and source

Published on 16 January 2024 and last revised on 28 November 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Web)
github.com (Package)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
CWE CWE-79
Public Exploit ✅ No
Source OSV
Published 2024-01-16
Updated 2026-08-20
Modified 2024-11-28
Fix URL N/A

Affected Packages

Software From version Fixed in
readthedocs-sphinx-search 0.3.2

Free Vulnerability Check

Is your site affected by GHSA-xgfm-fjx6-62mj?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-xgfm-fjx6-62mj and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.