CVE-2022-3988 Frappe Search navbar_search.html cross site scripting

Low 3.5 Published Updated

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.

Weakness: CWE-79, CWE-707

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.

Sources

Also known as GHSA-jv4j-4xv7-555r.

Is CVE-2022-3988 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free