Advisory

GHSA-mxvc-fwgx-j778

Also known as: CVE-2022-25303, PYSEC-2022-226, SNYK-PYTHON-WHOOGLESEARCH-2803306

Summary

Whoogle Search Cross-site Scripting via string parameter

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-07-15 15:37 UTC
Modified
2024-11-19 19:24 UTC

Affected packages and fixes

whoogle-search

PyPI · All systems

Affected

  • introduced 0, fixed 0.7.2 (ecosystem)

Fixed versions

0.7.2

Fix

  • Fixed version 0.7.2
    pip install --upgrade whoogle-search==0.7.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences