Advisory

PYSEC-2022-226

Also known as: CVE-2022-25303, GHSA-mxvc-fwgx-j778, SNYK-PYTHON-WHOOGLESEARCH-2803306

Summary

The record has no summary.

Details

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 function. However, the error_message is rendered using the | safe filter, meaning the user input is not escaped.

Severity

Not rated by the source.

Dates

Published
2022-07-12 15:15 UTC
Modified
2023-11-08 04:08 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: PyPA Advisory Database · CC BY 4.0

Sources & licences