CVE-2022-3988 Frappe Search navbar_search.html cross site scripting
Remote attackers can execute arbitrary scripts via the search query parameter in Frappe's navbar search template.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-3988?
CVE-2022-3988 is a low-severity cross-site scripting vulnerability in unspecified Frappe, published on 14 Nov 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A vulnerability was found in Frappe. It has been rated as problematic. Affected by this issue is some unknown functionality of the file frappe/templates/includes/navbar/navbar_search.html of the component Search. The manipulation of the argument q leads to cross site scripting. The attack may be launched remotely. The name of the patch is bfab7191543961c6cb77fe267063877c31b616ce. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-213560.
Which versions are affected by CVE-2022-3988?
It affects 1 product.
Products include Frappe Frappe.
How do I fix CVE-2022-3988?
No fix has been published for CVE-2022-3988 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-3988 being exploited?
There is no known exploitation of CVE-2022-3988 in the wild and no public exploit code.
Other vulnerabilities in unspecified Frappe
- CVE-2019-14965 Code injection in n/a
- CVE-2026-35614 Frappe has a SQL injection in bulk_update
- CVE-2026-31877 Frappe SQL Injection due to improper field sanitization
- CVE-2025-68929 Frappe may be vulnerable remote code execution due to server-side template injection
- CVE-2019-14966 SQL injection in n/a
Sources
Also known as GHSA-jv4j-4xv7-555r.