All reports
Medium

WordPress Core < 5.3.1 - Authenticated Stored Cross-Site Scripting

Affected versions

WordPresswordpress
Affected versions
<3.7 || >=3.7 <=3.7.31 || >=3.8 <=3.8.31 || >=3.9 <=3.9.29 || >=4.0 <=4.0.28 || >=4.1 <=4.1.28 || >=4.2 <=4.2.25 || >=4.3 <=4.3.21 || >=4.4 <=4.4.20 || >=4.5 <=4.5.19 || >=4.6 <=4.6.16 || >=4.7 <=4.7.15 || >=4.8 <=4.8.11 || >=4.9 <=4.9.12 || >=5.0 <=5.0.7 || >=5.1 <=5.1.3 || >=5.2 <=5.2.4 || >=5.3 <=5.3
Fixed version
3.7.32 · 3.8.32 · 3.9.30 · 4.0.29 · 4.1.29 · 4.2.26 · 4.3.22 · 4.4.21 · 4.5.20 · 4.6.17 · 4.7.16 · 4.8.12 · 4.9.13 · 5.0.8 · 5.1.4 · 5.2.5 · 5.3.1

Exploitation

CVE-2019-20042

Probability of exploitation in the next 30 days: 2.76%

FIRST EPSS · 2026-11-22

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.

Links

Credits

  • Simon Scannell

Data rights and licenses

Wordfence

Copyright 2012-2026 Defiant Inc.

Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.

License terms

Copyright 1999-2026 The MITRE Corporation

CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.

License terms