CVE-2022-25303

Source
https://cve.org/CVERecord?id=CVE-2022-25303
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-25303.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-25303
Aliases
Published
2022-07-12T14:20:11.761Z
Modified
2026-05-28T03:53:48.966107170Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P CVSS Calculator
Summary
Cross-site Scripting (XSS)
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25303.json",
    "cna_assigner": "snyk"
}
References

Affected packages

Git / github.com/benbusby/whoogle-search

Affected ranges

Type
GIT
Repo
https://github.com/benbusby/whoogle-search
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*
v0.0.1
v0.1.0
v0.1.1
v0.1.2
v0.1.3
v0.1.4
v0.3.0
v0.3.1
v0.3.2
v0.4.0
v0.4.1
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.6.0
v0.7.0
v0.7.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-25303.json"