CVE-2022-25303 json
Cross-site Scripting (XSS)
published 2022-07-12 4 y ago modified 2026-06-17 4 mo ago also GHSA-mxvc-fwgx-j778 , PYSEC-2022-226 , EUVD-2022-0365
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi whoogle-search 0.7.2
- n/a whoogle-search 0.7.2
Exploit prediction
0.97% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | whoogle-search | <0.7.2 |
0.7.2 |
Affected products
- n/a whoogle-search
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/benbusby/whoogle-search/commit/abc30d7da3b5c67be7ce84d4699f327442d44606
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-PYTHON-WHOOGLESEARCH-2803306
web, third-party-advisory, advisory
-
github.com
/benbusby/whoogle-search/blob/6d362ca5c7a00d2f691a2512461c5dfbfc01cbb3/app/routes.py%23L448
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2022-25303
advisory
-
github.com
/advisories/GHSA-mxvc-fwgx-j778
advisory
-
github.com
/benbusby/whoogle-search
package
-
github.com
/pypa/advisory-database/tree/main/vulns/whoogle-search/PYSEC-2022-226.yaml
web
Sources
- CVE List CVE-2022-25303
- GitHub Advisory GHSA-mxvc-fwgx-j778
- NVD CVE-2022-25303
- OSV PYSEC-2022-226
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.