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...
Critical CVSS 9.8
- CVE id
- CVE-2019-20041
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| WordPress Runtimes and servers |
< 5.3.1 | 5.3.1 |
How to fix it
Upgrade WordPress to 5.3.1 or later.
wp core version
- Update WordPress core to the patched release (Dashboard > Updates, wp core update, or the wordpress image tag).
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
wpksesbad_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.
References
- CVE-2019-20041 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2019-20041
- Web: https://github.com/WordPress/wordpress-develop/commit/b1975463dd995da19bb40d3fa0786498717e3c53
- Web: https://lists.debian.org/debian-lts-announce/2020/01/msg00010.html
- Web: https://seclists.org/bugtraq/2020/Jan/8
- Web: https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/
- Web: https://www.debian.org/security/2020/dsa-4599
- Web: https://www.debian.org/security/2020/dsa-4677
- Web: https://github.com/WordPress/wordpress-develop/commit/b1975463dd995da19bb40d3fa0786498717e3c53
- Web: https://lists.debian.org/debian-lts-announce/2020/01/msg00010.html
- Web: https://seclists.org/bugtraq/2020/Jan/8
- Web: https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/
- Web: https://www.debian.org/security/2020/dsa-4599
- Web: https://www.debian.org/security/2020/dsa-4677
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.