# CVE-2019-20042

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-12-27 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2019-20042, DEBIAN-CVE-2019-20042
- Record: https://cvemate.com/vulnerability/CVE-2019-20042 · JSON: https://cvemate.com/vulnerability/CVE-2019-20042/json

## Description

```text
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.
```

## Signals

- CVSS: 6.4 medium (v3.1, wordfence) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- EPSS: 2.762%, percentile 86.742%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian wordpress (Debian): \< 5.3.2+dfsg1-1
- ubuntu wordpress (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 9.0 \| 10.0
- wordpress wordpress: \< 3.7 (fixed in 3.7.32) \| ≥ 3.7, ≤ 3.7.31 (fixed in 3.7.32) \| ≥ 3.8, ≤ 3.8.31 (fixed in 3.7.32) \| ≥ 3.9, ≤ 3.9.29 (fixed in 3.7.32) \| ≥ 4.0, ≤ 4.0.28 (fixed in 3.7.32) \| ≥ 4.1, ≤ 4.1.28 (fixed in 3.7.32) \| ≥ 4.2, ≤ 4.2.25 (fixed in 3.7.32) \| ≥ 4.3, ≤ 4.3.21 (fixed in 3.7.32) \| ≥ 4.4, ≤ 4.4.20 (fixed in 3.7.32) \| ≥ 4.5, ≤ 4.5.19 (fixed in 3.7.32) \| ≥ 4.6, ≤ 4.6.16 (fixed in 3.7.32) \| ≥ 4.7, ≤ 4.7.15 (fixed in 3.7.32) \| ≥ 4.8, ≤ 4.8.11 (fixed in 3.7.32) \| ≥ 4.9, ≤ 4.9.12 (fixed in 3.7.32) \| ≥ 5.0, ≤ 5.0.7 (fixed in 3.7.32) \| ≥ 5.1, ≤ 5.1.3 (fixed in 3.7.32) \| ≥ 5.2, ≤ 5.2.4 (fixed in 3.7.32) \| 5.3 (fixed in 3.7.32)
- wordpress wordpress: ≥ 3.7, \< 5.3.1

## References

- <https://wpvulndb.com/vulnerabilities/9975>
- <https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/>
- <https://core.trac.wordpress.org/changeset/46894/trunk>
- <https://github.com/WordPress/wordpress-develop/commit/1f7f3f1f59567e2504f0fbebd51ccf004b3ccb1d>
- <https://blog.ripstech.com/filter/vulnerabilities/>
- <https://seclists.org/bugtraq/2020/Jan/8>
- <https://www.debian.org/security/2020/dsa-4599>
- <https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-xvg2-m2f4-83m7>
- <https://hackerone.com/reports/509930>
- <https://www.debian.org/security/2020/dsa-4677>
- <https://ubuntu.com/security/CVE-2019-20042>
- <https://www.cve.org/CVERecord?id=CVE-2019-20042>
- <https://security-tracker.debian.org/tracker/CVE-2019-20042>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/8c483cf9-fb63-4c43-ad42-1404448540c2>

---

Data as of 2026-12-05T07:33:18.407Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
