### [CVE-2021-24664](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24664) ![](https://img.shields.io/static/v1?label=Product&message=School%20Management%20System%20%E2%80%93%20WPSchoolPress&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=2.1.17%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brightgreen) ### Description The School Management System – WPSchoolPress WordPress plugin before 2.1.17 sanitise some fields using sanitize_text_field() but does not escape them before outputting in attributes, resulting in Stored Cross-Site Scripting issues. ### POC #### Reference - http://packetstormsecurity.com/files/164974/WordPress-WPSchoolPress-2.1.16-Cross-Site-Scripting.html - https://wpscan.com/vulnerability/3f8e170c-6579-4b1a-a1ac-7d93da17b669 #### Github - https://github.com/20142995/nuclei-templates - https://github.com/ARPSyndicate/cvemon