XSS in WordPress
CVE-2019-20042
In wp-includes/formatting.php in WordPress 3.7 to 5.3.0, the function wp_targeted_link_rel() can be used in a particular way to result in a stored cross-site scripting (XSS) vulnerability. This has been patched in WordPress 5.3.1, along with all the previous WordPress versions from 3.7 to 5.3 via a minor release.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.028, 86.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- WordPress
- Debian Linux — versions 9.0, 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 7 other repositories (20142995/nuclei-templates, Afetter618/WordPress-PenTest, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- wpvulndb.com/vulnerabilities/9975 (Third Party Advisory, Release Notes)
- wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/ (Release Notes, Vendor Advisory)
- core.trac.wordpress.org/changeset/46894/trunk (Patch)
- github.com/WordPress/wordpress-develop/commit/1f7f3f1f59567e2504f0fbebd51ccf004… (Patch)
- blog.ripstech.com/filter/vulnerabilities/ (Not Applicable)
- 20200108 [SECURITY] [DSA 4599-1] wordpress security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-4599 (vendor-advisory, Third Party Advisory)
- github.com/WordPress/wordpress-develop/security/advisories/GHSA-xvg2-m2f4-83m7 (Third Party Advisory)
- hackerone.com/reports/509930 (Third Party Advisory)
- DSA-4677 (vendor-advisory, Third Party Advisory)