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

18 lines
1.2 KiB
Markdown

### [CVE-2021-24208](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24208)
![](https://img.shields.io/static/v1?label=Product&message=WP%20Page%20Builder&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=1.2.4%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brightgreen)
### Description
The editor of the WP Page Builder WordPress plugin before 1.2.4 allows lower-privileged users to insert unfiltered HTML, including JavaScript, into pages via the “Raw HTML” widget and the “Custom HTML” widgets (though the custom HTML widget requires sending a crafted request - it appears that this widget uses some form of client side validation but not server side validation), all of which are added via the “page_builder_data” parameter when performing the “wppb_page_save” AJAX action. It is also possible to insert malicious JavaScript via the “wppb_page_css” parameter (this can be done by closing out the style tag and opening a script tag) when performing the “wppb_page_save” AJAX action.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/20142995/nuclei-templates