CVE-2022-25303
MEDIUM 6.1CVSS 3.1Whoogle Search Cross-site Scripting via string parameter
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.
- Published
- 12 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-mxvc-fwgx-j778PYSEC-2022-226SNYK-PYTHON-WHOOGLESEARCH-2803306
- Sources
- NVDJSONOSV GHSA-mxvc-fwgx-j778JSONOSV PYSEC-2022-226JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | whoogle-search_project | whoogle-searchcpe:2.3:a:whoogle-search_project:whoogle-search:*:*:*:*:*:*:*:* |
< 0.7.2 | 0.7.2 |
| OSV | PyPI | whoogle-search | < 0.7.2 | 0.7.2 |
References
- https://github.com/benbusby/whoogle-search/blob/6d362ca5c7a00d2f691a2512461c5dfbfc01cbb3/app/routes.py%23L448 · Broken Link, WEB
- https://github.com/benbusby/whoogle-search/commit/abc30d7da3b5c67be7ce84d4699f327442d44606 · Patch, Third Party Advisory, WEB, FIX
- https://snyk.io/vuln/SNYK-PYTHON-WHOOGLESEARCH-2803306 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-25303 · ADVISORY
- https://github.com/advisories/GHSA-mxvc-fwgx-j778 · ADVISORY
- https://github.com/benbusby/whoogle-search · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/whoogle-search/PYSEC-2022-226.yaml · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 12 Jul 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Jul 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Jul 2022)