CVE-2021-43697 Cross-site scripting in n/a

Medium 6.1 Published Updated

Cross-site scripting vulnerability in Workerman-ThinkPHP-Redis allows attackers to inject malicious scripts via the JSONP handler parameter.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-43697?

CVE-2021-43697 is a medium-severity cross-site scripting vulnerability in n/a, published on 29 Nov 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Workerman-ThinkPHP-Redis (last update Mar 16, 2018) is affected by a Cross Site Scripting (XSS) vulnerability. In file Controller.class.php, the exit function will terminate the script and print the message to the user. The message will contain $_GET{C('VAR_JSONP_HANDLER')] then there is a XSS vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2021-43697?

It affects 1 product.

Products include Workerman-Thinkphp-Redis Project Workerman-Thinkphp-Redis.

How do I fix CVE-2021-43697?

No fix has been published for CVE-2021-43697 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-2021-43697 being exploited?

There is no known exploitation of CVE-2021-43697 in the wild and no public exploit code.

Sources

Also known as GHSA-7q8m-h35w-p957.

Is CVE-2021-43697 in your software?

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

Check your SBOMs for free