CVE-2022-25303GHSA-MXVC-FWGX-J778PYSEC-2022-226SNYK-PYTHON-WHOOGLESEARCH-2803306
Cross-site Scripting (XSS)
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.7.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
The package whoogle-search before 0.7.2 are vulnerable to Cross-site Scripting (XSS) via the query string parameter q. In the case where it does not contain the http string, it is used to build the error_message that is then rendered in the error.html template, using the flask.render_template function. However, the error_message is rendered using the | safe filter, meaning the user input is not escaped.
Timeline
- CVE published
- Record last updated
Affected versions
- n/a whoogle-search
fixed in 0.7.2
- whoogle-searchPyPI
fixed in 0.7.2