CVE-2021-43678 Wechat-php-sdk is affected by a Cross Site Scripting vulnerability.
Cross-site scripting vulnerability in Wechat-php-sdk allows attackers to inject malicious scripts into web pages viewed by other users.
- 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-43678?
CVE-2021-43678 is a medium-severity cross-site scripting vulnerability in n/a, published on 17 Dec 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
Wechat-php-sdk v1.10.2 is affected by a Cross Site Scripting (XSS) vulnerability in Wechat.php.
Weakness: CWE-79
Which versions are affected by CVE-2021-43678?
2 open source packages ship an affected version, including gaoming13/wechat-php-sdk. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gaoming13/wechat-php-sdk Packagist | All versions to 1.10.2 | None |
gaoming13/wechat-php-sdk Packagist | All versions to 1.10.2 | None |
Products include Wechat-Php-Sdk Project Wechat-Php-Sdk.
How do I fix CVE-2021-43678?
No fix has been published for CVE-2021-43678 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-43678 being exploited?
There is no known exploitation of CVE-2021-43678 in the wild and no public exploit code.
Sources
Also known as GHSA-rwqq-p4p9-5wpq.