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

18 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### [CVE-2021-24503](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24503)
![](https://img.shields.io/static/v1?label=Product&message=Popular%20Brand%20Icons%20%E2%80%93%20Simple%20Icons&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=2.7.8%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brightgreen)
### Description
The Popular Brand Icons Simple Icons WordPress plugin before 2.7.8 does not sanitise or validate some of its shortcode parameters, such as "color", "size" or "class", allowing users with a role as low as Contributor to set Cross-Site payload in them. A post made by a contributor would still have to be approved by an admin to have the XSS triggered in the frontend, however, higher privilege users, such as editor could exploit this without the need of approval, and even when the blog disallows the unfiltered_html capability.
### POC
#### Reference
- https://wpscan.com/vulnerability/18ab1570-2b4a-48a4-86e6-c1d368563691
#### Github
- https://github.com/20142995/nuclei-templates