CVE-2022-25303

Medium

Description

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductWhoogle-search
PublishedJul 12, 2022
First seenJul 12, 2022

How to fix

Update
  • whoogle-search_project whoogle-search0.7.2 or later
  • whoogle-search0.7.2 or later

Affected products

ProductAffected versionsFixed in
whoogle-search_project whoogle-searchv < 0.7.20.7.2
whoogle-searchPyPIv < 0.7.20.7.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-25303 · Whoogle-search · Dark Radar