Files
CVEs-PoC/2021/CVE-2021-24434.md
2025-09-29 21:09:30 +02:00

19 lines
991 B
Markdown

### [CVE-2021-24434](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24434)
![](https://img.shields.io/static/v1?label=Product&message=Glass&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=1.3.2%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-352%20Cross-Site%20Request%20Forgery%20(CSRF)&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brightgreen)
### Description
The Glass WordPress plugin through 1.3.2 does not sanitise or escape its "Glass Pages" setting before outputting in a page, leading to a Stored Cross-Site Scripting issue. Furthermore, the plugin did not have CSRF check in place when saving its settings, allowing the issue to be exploited via a CSRF attack.
### POC
#### Reference
- https://wpscan.com/vulnerability/dbea2dc2-83f6-4e70-b044-a68a4c9b9c39
#### Github
- https://github.com/20142995/nuclei-templates