{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-25303","published":"2022-07-12T15:15:09.227000Z","last_modified":"2026-06-17T04:33:21.280000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:whoogle-search_project:whoogle-search:*:*:*:*:*:*:*:*","part":"a","vendor":"whoogle-search_project","product":"whoogle-search","version_end_excluding":"0.7.2"}],"cpes_truncated":false,"vendors":["whoogle-search_project"],"products":["whoogle-search_project/whoogle-search"],"epss":{"score":0.00891,"percentile":0.57342,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-mxvc-fwgx-j778","ecosystem":"PyPI","name":"whoogle-search","purl":"pkg:pypi/whoogle-search","ranges":[{"introduced":"0","fixed":"0.7.2"}],"versions":["0.1.0","0.1.3","0.1.4","0.2.0","0.2.1","0.3.0","0.3.1","0.3.2","0.4.0","0.4.1","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.6.0","0.7.0","0.7.1"],"versions_truncated":false},{"advisory":"PYSEC-2022-226","ecosystem":"PyPI","name":"whoogle-search","purl":"pkg:pypi/whoogle-search","ranges":[{"introduced":"0","fixed":"0.7.2"}],"versions":["0.1.0","0.1.3","0.1.4","0.2.0","0.2.1","0.3.0","0.3.1","0.3.2","0.4.0","0.4.1","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.6.0","0.7.0","0.7.1"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2022-25303/","html_en":"/en/cve/CVE-2022-25303/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25303","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-25303"},"untrusted":{"vendor_name":"Whoogle-search Project","product_name":"Whoogle-search","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/benbusby/whoogle-search/blob/6d362ca5c7a00d2f691a2512461c5dfbfc01cbb3/app/routes.py%23L448","tags":["Broken Link"]},{"url":"https://github.com/benbusby/whoogle-search/commit/abc30d7da3b5c67be7ce84d4699f327442d44606","tags":["Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-PYTHON-WHOOGLESEARCH-2803306","tags":["Third Party Advisory"]}]}}