### [CVE-2021-24751](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24751) ![](https://img.shields.io/static/v1?label=Product&message=GenerateBlocks&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=1.4.0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brightgreen) ### Description The GenerateBlocks WordPress plugin before 1.4.0 does not validate the generateblocks/container block's tagName attribute, which could allow users with a role as low as contributor to perform Cross-Site Scripting attacks. ### POC #### Reference - https://wpscan.com/vulnerability/e0131980-d2d3-4780-8a68-a81ee8c90b7a #### Github - https://github.com/20142995/nuclei-templates - https://github.com/ARPSyndicate/cvemon