.. / CVE-2021-32853

Exploit for Erxes <0.23.0 - Cross-Site Scripting (CVE-2021-32853)

Description:

Erxes before 0.23.0 contains a cross-site scripting vulnerability. The value of topicID parameter is not escaped and is triggered in the enclosing script tag.

Nuclei Template

View the template here CVE-2021-32853.yaml

Validate with Nuclei

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

References:

https://github.com/erxes/erxes/blob/f131b49add72032650d483f044d00658908aaf4a/widgets/server/index.ts#L54
https://github.com/erxes/erxes/blob/f131b49add72032650d483f044d00658908aaf4a/widgets/server/views/widget.ejs#L14
https://nvd.nist.gov/vuln/detail/CVE-2021-3285
https://securitylab.github.com/advisories/GHSL-2021-103-erxes/