XSS in Whoogle-Search Project
CVE-2022-25303
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](https://flask.palletsprojects.com/en/2.1.x/api/flask.render_template) function. However, the error_message is rendered using the [| safe filter](https://jinja.palletsprojects.com/en/3.1.x/templates/working-with-automatic-escaping), meaning the user input is not escaped.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.009 (57.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
Affected products
- Whoogle-search_project Whoogle-search
- N/a Whoogle-search — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- report@snyk.io (Third Party Advisory, x_refsource_MISC)
- report@snyk.io (x_refsource_MISC, Broken Link)
- report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2022-25303?
- CVE-2022-25303 is a medium-severity vulnerability in Whoogle-Search Project, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2022-07-12.
- How severe is CVE-2022-25303?
- Medium severity. CVSS v3 base score is 5.4 out of 10.
- Is CVE-2022-25303 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.