WordPress Vulnerabilities
WordPress <= 5.3 - wp_kses_bad_protocol() Colon Bypass
Description
A JavaScript payload such as "javascript:alert(1)" in a URL could cause a Cross-Site Scripting (XSS) vulnerability.
According to the commit message (see references):
"`wp_kses_bad_protocol()` makes sure to validate that uri attributes don’t contain invalid/or not allowed protocols. While this works fine in most cases, there’s a risk that by using the colon html5 named entity, one is able to bypass this function."
Proof of Concept
Affects WordPress
References
Classification
Type
XSS
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
WordPress.org Security Team
Verified
No
WPVDB ID
Timeline
Publicly Published
2019-12-13 (about 6 years ago)
Added
2020-01-04 (about 6 years ago)
Last Updated
2020-09-22 (about 5 years ago)