PT-2022-17199 · Unknown · Whoogle Search
Alessio Della Libera
·
Published
2022-07-12
·
Updated
2022-07-19
·
CVE-2022-25303
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
whoogle-search versions prior to 0.7.2
Description
The issue concerns Cross-site Scripting (XSS) via the query string parameter
q. When the q parameter 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.Recommendations
For versions prior to 0.7.2, update to version 0.7.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
q parameter in the query string to minimize the risk of exploitation.Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Whoogle Search