.. / CVE-2021-39322

Exploit for WordPress Easy Social Icons Plugin < 3.0.9 - Cross-Site Scripting (CVE-2021-39322)

Description:

The Easy Social Icons plugin <= 3.0.8 for WordPress echoes out the raw value of $_SERVER['PHP_SELF'] in its main file. On certain configurations including Apache+modPHP this makes it possible to use it to perform a reflected cross-site scripting attack by injecting malicious code in the request path.

Nuclei Template

View the template here CVE-2021-39322.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2021/CVE-2021-39322.yaml
Copy

References:

https://github.com/ARPSyndicate/cvemon
https://wpscan.com/vulnerability/5e0bf0b6-9809-426b-b1d4-1fb653083b58
https://nvd.nist.gov/vuln/detail/CVE-2021-39322
https://wpvulndb.com/vulnerabilities/5e0bf0b6-9809-426b-b1d4-1fb653083b58
https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39322