# CVE-2021-43678: Wechat-php-sdk is affected by a Cross Site Scripting vulnerability.

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-12-17T12:49:17.000Z
- Modified: 2026-06-17T04:11:15.823Z
- Also known as: GHSA-rwqq-p4p9-5wpq
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Wechat-php-sdk v1.10.2 is affected by a Cross Site Scripting (XSS) vulnerability in Wechat.php.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gaoming13/wechat-php-sdk (Packagist): up to 1.10.2
- wechat-php-sdk_project wechat-php-sdk: 1.10.2

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/gaoming13/wechat-php-sdk> (exploit, package, third-party-advisory)
- <https://github.com/gaoming13/wechat-php-sdk/issues/30> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43678> (advisory)

## Sources

- CVE List: [CVE-2021-43678](https://www.cve.org/CVERecord?id=CVE-2021-43678), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-rwqq-p4p9-5wpq](https://github.com/advisories/GHSA-rwqq-p4p9-5wpq), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-43678](https://nvd.nist.gov/vuln/detail/CVE-2021-43678), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43678 · Whole record: https://cve.day/CVE-2021-43678.json · Rebuilt by cve.day 2026-11-25T22:24:36.315Z
