{"id":"CVE-2019-20042","details":"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.","modified":"2026-04-11T12:20:07.344945Z","published":"2019-12-27T08:15:09.747Z","related":["GHSA-xvg2-m2f4-83m7"],"database_specific":{"unresolved_ranges":[{"source":"CPE_FIELD","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","extracted_events":[{"last_affected":"10.0"}]},{"source":"CPE_FIELD","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","extracted_events":[{"last_affected":"9.0"}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-xvg2-m2f4-83m7"},{"type":"ADVISORY","url":"https://hackerone.com/reports/509930"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2020/Jan/8"},{"type":"ADVISORY","url":"https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/"},{"type":"ADVISORY","url":"https://wpvulndb.com/vulnerabilities/9975"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4599"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4677"},{"type":"FIX","url":"https://core.trac.wordpress.org/changeset/46894/trunk"},{"type":"FIX","url":"https://github.com/WordPress/wordpress-develop/commit/1f7f3f1f59567e2504f0fbebd51ccf004b3ccb1d"},{"type":"ARTICLE","url":"https://blog.ripstech.com/filter/vulnerabilities/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wordpress/wordpress","events":[{"introduced":"3921fd373acaeeeee2029f762b676075cf375b33"},{"fixed":"378daf04727d8124c3a98e2f801632e068c04964"}],"database_specific":{"source":"CPE_FIELD","cpe":"cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.7"},{"fixed":"5.3.1"}]}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-20042.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/wordpress/wordpress-develop","events":[{"introduced":"0"},{"fixed":"1f7f3f1f59567e2504f0fbebd51ccf004b3ccb1d"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-20042.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}