SecurityContext

CVE-2021-43678: Wechat-php-sdk - Reflected XSS

  • Cve: CVE-2021-43678
  • Name: Wechat-php-sdk - Reflected XSS
  • Description: Wechat-php-sdk v1.10.2 is affected by a Cross Site Scripting (XSS) vulnerability in Wechat.php.
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking or defacement.
  • Remediation: Update to the latest version of Wechat-php-sdk that addresses this vulnerability or apply security patches.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to click a malicious link
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00801
  • Epss percentile: 0.57383
  • Assignee: [email protected]
  • Published at: 2021-12-17T13:15:07Z
  • Age in days: 1803
  • Modified at: 2026-06-17T04:11:15Z
  • Public exploits total: 2
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-43678
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/gaoming13/wechat-php-sdknvd2021-12-17
https://github.com/gaoming13/wechat-php-sdk/issues/30nvd2021-12-17

References

UrlSourceTags
https://github.com/gaoming13/wechat-php-sdknvdExploit, Third Party Advisory
https://github.com/gaoming13/wechat-php-sdk/issues/30nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
wechat-php-sdk_project:wechat-php-sdk= 1.10.2nonvd/v1/products/wechat-php-sdk_project/wechat-php-sdk

Projects

RepositoryLink kindsIndexedUrl
gaoming13/wechat-php-sdkissues, packageyes/v1/repositories/gaoming13/wechat-php-sdk

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2021-12-17
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts