{"cve":"CVE-2022-25303","nvd":{"published":"2022-07-12T15:15:09.227","modified":"2026-06-17T04:33:21.280","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/benbusby/whoogle-search/blob/6d362ca5c7a00d2f691a2512461c5dfbfc01cbb3/app/routes.py%23L448","https://github.com/benbusby/whoogle-search/commit/abc30d7da3b5c67be7ce84d4699f327442d44606","https://snyk.io/vuln/SNYK-PYTHON-WHOOGLESEARCH-2803306","https://github.com/benbusby/whoogle-search/blob/6d362ca5c7a00d2f691a2512461c5dfbfc01cbb3/app/routes.py%23L448","https://github.com/benbusby/whoogle-search/commit/abc30d7da3b5c67be7ce84d4699f327442d44606"],"products":["whoogle-search_project:whoogle-search"],"source":"nvd","synced_at":"2026-10-19T21:33:44.859608815+00:00"},"epss":{"cve":"CVE-2022-25303","score":0.00969,"percentile":0.61884,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-mxvc-fwgx-j778","url":"https://osv.dev/vulnerability/GHSA-mxvc-fwgx-j778","summary":"Whoogle Search Cross-site Scripting via string parameter","modified":"2024-11-19T19:24:44.773982Z","packages":[{"ecosystem":"PyPI","name":"whoogle-search","purl":"pkg:pypi/whoogle-search","ranges":["<0.7.2"],"fixed":["0.7.2"]}]},{"id":"PYSEC-2022-226","url":"https://osv.dev/vulnerability/PYSEC-2022-226","summary":"","modified":"2023-11-08T04:08:45.680545Z","packages":[{"ecosystem":"PyPI","name":"whoogle-search","purl":"pkg:pypi/whoogle-search","ranges":["<0.7.2"],"fixed":["0.7.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}