Launch Week Day 1: Announcing Security Design Review
MEDIUM 5.4 PyPI

Whoogle Search Cross-site Scripting via string parameter

GHSA-mxvc-fwgx-j778 · CVE-2022-25303 · PYSEC-2022-226 · SNYK-PYTHON-WHOOGLESEARCH-2803306

Published · Modified

Description

The package whoogle-search before version 0.7.2 is 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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes