Description
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.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_misc
https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0210
Exploit, Third Party Advisory x_refsource_misc
https://github.com/BigTiger2020/2022/blob/main/Random%20Banner%20Xss.md
Exploit, Third Party Advisory x_refsource_misc
https://plugins.trac.wordpress.org/browser/random-banner/tags/4.1.4/include/models/model.php#L132
Scores
CVSS v3
4.8
EPSS
0.0059
EPSS Percentile
69.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
CWE-116
Status
published
Products (1)
buffercode/random_banner
< 4.1.4
Published
Jan 18, 2022
Tracked Since
Feb 18, 2026