### [CVE-2021-24850](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24850) ![](https://img.shields.io/static/v1?label=Product&message=Insert%20Pages&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=3.7.0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brightgreen) ### Description The Insert Pages WordPress plugin before 3.7.0 adds a shortcode that prints out other pages' content and custom fields. It can be used by users with a role as low as Contributor to perform Cross-Site Scripting attacks by storing the payload/s in another post's custom fields. ### POC #### Reference - https://wpscan.com/vulnerability/2d6f9be0-b9fd-48e5-bd68-94eeb3822c0a #### Github - https://github.com/20142995/nuclei-templates