Unsanitized Shortcode Parameters in Simple Icons WordPress Plugin Allow for Cross-Site Scripting (XSS) Vulnerability

Unsanitized Shortcode Parameters in Simple Icons WordPress Plugin Allow for Cross-Site Scripting (XSS) Vulnerability

CVE-2021-24503 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

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.

Learn more about our Wordpress Pen Testing.