← Vulnerability feed

Vulnerability record · CVE-2019-20042 · published 27 December 2019

CVE-2019-20042: Wordpress cross-site scripting vulnerability

Wordpress · Wordpress

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.

6.1 CVSS 3.1 Medium EPSS 2.8% · top 13.0% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score, v2 4.3
2.8%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
20References
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://blog.ripstech.com/filter/vulnerabilities/ Not Applicable
https://core.trac.wordpress.org/changeset/46894/trunk Patch
https://github.com/WordPress/wordpress-develop/commit/1f7f3f1f59567e2504f0fbebd51ccf004b3ccb1d Patch
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-xvg2-m2f4-83m7 Third Party Advisory
https://hackerone.com/reports/509930 Third Party Advisory
https://seclists.org/bugtraq/2020/Jan/8 Mailing ListThird Party Advisory
https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/ Release NotesVendor Advisory
https://wpvulndb.com/vulnerabilities/9975 Release NotesThird Party Advisory
https://www.debian.org/security/2020/dsa-4599 Third Party Advisory
https://www.debian.org/security/2020/dsa-4677 Third Party Advisory
https://blog.ripstech.com/filter/vulnerabilities/ Not Applicable
https://core.trac.wordpress.org/changeset/46894/trunk Patch
https://github.com/WordPress/wordpress-develop/commit/1f7f3f1f59567e2504f0fbebd51ccf004b3ccb1d Patch
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-xvg2-m2f4-83m7 Third Party Advisory
https://hackerone.com/reports/509930 Third Party Advisory
https://seclists.org/bugtraq/2020/Jan/8 Mailing ListThird Party Advisory
https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/ Release NotesVendor Advisory
https://wpvulndb.com/vulnerabilities/9975 Release NotesThird Party Advisory
https://www.debian.org/security/2020/dsa-4599 Third Party Advisory
https://www.debian.org/security/2020/dsa-4677 Third Party Advisory

Track CVE-2019-20042 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2006-4028Wordpress vulnerabilityMultiple unspecified vulnerabilities in WordPress before 2.0.4 have unknown impact and remote attack vectors. NOTE: due to lack of details, it is not…EPSS 3.8%10.0CVE-2000-0844Caldera openlinux ebuilder permissions and access controls vulnerabilitySome functions that implement the locale subsystem on Unix do not properly cleanse user-injected format strings, which allows local attackers to exec…EPSS 16%10.0CVE-2000-0666Conectiva linux vulnerabilityrpc.statd in the nfs-utils package in various Linux distributions does not properly cleanse untrusted format strings, which allows remote attackers t…EPSS 26%10.0CVE-2000-0584Debian linux vulnerabilityBuffer overflow in Canna input system allows remote attackers to execute arbitrary commands via an SR_INIT command with a long user name or group nam…EPSS 5.9%10.0CVE-2000-1221Sgi irix vulnerabilityThe line printer daemon (lpd) in the lpr package in multiple Linux operating systems authenticates by comparing the reverse-resolved hostname of the …EPSS 17%10.0CVE-1999-0832Debian linux vulnerabilityBuffer overflow in NFS server on Linux allows attackers to execute commands via a long pathname.EPSS 3.5%10.0CVE-1999-0730Debian linux vulnerabilityThe zsoelim program in the Debian man-db package allows local users to overwrite files via a symlink attack.EPSS 4.5%10.0CVE-1999-0368Proftpd project proftpd vulnerabilityBuffer overflows in wuarchive ftpd (wu-ftpd) and ProFTPD lead to remote root access, a.k.a. palmetto.EPSS 40%

Source: NIST National Vulnerability Database (record CVE-2019-20042), CISA KEV, FIRST EPSS (scores of 2026-11-27). This page is refreshed as NVD updates the record.