CVE-2019-20042Wordpress
Medium 6.1 No auth needed
Follow: this CVE · Wordpress · Wordpress We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 2.8% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Dec 27, 2019
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Wordpress.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| wordpress | wordpress | ≥ 3.7 < 5.3.1 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- blog.ripstech.com Not Applicable
- core.trac.wordpress.org Patch
- github.com Patch
- github.com Third Party Advisory
- hackerone.com Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- wordpress.org Release Notes Vendor Advisory
- wpvulndb.com Release Notes Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory