The Random Banner WordPress plugin is vulnerable to Stored Cross-Site Scripting due to insufficient escaping via the category parameter found in the ~/include/models/model.php file which allowed attackers with administrative user access to inject arbitrary web scripts, in versions up to and including 4.1.4. This affects multi-site installations where unfiltered_html is disabled for administrators, and sites where unfiltered_html is disabled.
Solution:
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
Link | Tags |
---|---|
https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0210 | third party advisory |
https://github.com/BigTiger2020/2022/blob/main/Random%20Banner%20Xss.md | third party advisory exploit |
https://plugins.trac.wordpress.org/browser/random-banner/tags/4.1.4/include/models/model.php#L132 | third party advisory exploit |