| Name | CVE-2019-20042 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-4599-1 |
| Debian Bugs | 946905 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| wordpress (PTS) | bullseye, bullseye (security) | 5.7.11+dfsg1-0+deb11u1 | fixed |
| bookworm, bookworm (security) | 6.1.6+dfsg1-0+deb12u1 | fixed | |
| trixie | 6.8.1+dfsg1-1 | fixed | |
| forky, sid | 6.8.3+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| wordpress | source | jessie | (not affected) | |||
| wordpress | source | stretch | (not affected) | |||
| wordpress | source | buster | 5.0.4+dfsg1-1+deb10u1 | DSA-4599-1 | ||
| wordpress | source | (unstable) | 5.3.2+dfsg1-1 | 946905 |
[stretch] - wordpress <not-affected> (Vulnerable function introduced in 5.1)
[jessie] - wordpress <not-affected> (Vulnerable function introduced in 5.1)
https://core.trac.wordpress.org/changeset/46894/trunk
https://github.com/WordPress/wordpress-develop/commit/1f7f3f1f59567e2504f0fbebd51ccf004b3ccb1d
https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/