Bug 1793629 (CVE-2019-20041)

Summary: CVE-2019-20041 wordpress: HTML5 colon named entity mishandling in wp_kses_bad_protocol in wp-includes/kses.php allows bypass input sanitization
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fedora, kevin
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-28 05:23:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1793630, 1793631    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2020-01-21 17:37:24 UTC
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.

Reference and upstream commit:
https://github.com/WordPress/wordpress-develop/commit/b1975463dd995da19bb40d3fa0786498717e3c53

Comment 1 Guilherme de Almeida Suckevicz 2020-01-21 17:38:24 UTC
Created wordpress tracking bugs for this issue:

Affects: epel-6 [bug 1793630]
Affects: epel-7 [bug 1793631]