docker101
docker101 copied to clipboard
[Bug reporting] XSS vulnerabilty in wp_kses_bad_protocol in wp-includes/kses.php (CVE-2019-20041)
Hi
I found a known XSS vulnerability in the recent version of docker101. In particular, the bug we report is a known bug by CVE-2019-20041.
wp_kses_bad_protocol in wp-includes/kses.php in WordPress before 5.3.1 mishandles the HTML5 colon named entity, allowing attackers to bypass input sanitization, as demonstrated by the javascript: substring.
Please check this line: https://github.com/ajeetraina/docker101/blob/a149f608e889262e2205e022621bde6449054e01/advanced/security/apparmor/wordpress/html/wp-includes/kses.php#L1336
Thanks!