CVE-2022-25303
Summary
| CVE | CVE-2022-25303 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-07-12 15:15:00 UTC |
| Updated | 2022-07-19 12:45:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Whoogle-search Project | Whoogle-search | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Cross-site Scripting (XSS) in whoogle-search | CVE-2022-25303 | Snyk | MISC | snyk.io | |
| Render error message w/o `safe` filter · benbusby/whoogle-search@abc30d7 · GitHub | MISC | github.com | |
| github.com/benbusby/whoogle-search/blob/6d362ca5c7a00d2f691a2512461c5dfb... | MISC | github.com | |
| whoogle-search/routes.py at 6d362ca5c7a00d2f691a2512461c5dfbfc01cbb3 · benbusby/whoogle-search · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Alessio Della Libera of Snyk Security Team
There are currently no legacy QID mappings associated with this CVE.