{"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.","aliases":["GHSA-xvg2-m2f4-83m7"],"modified":"2026-07-07T08:50:10.515363750Z","published":"2019-12-27T08:15:09.747Z","database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"9.0"},{"last_affected":"9.0"},{"introduced":"10.0"},{"last_affected":"10.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux"}]},"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":{"cpe":"cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.7"},{"fixed":"5.3.1"}],"source":"CPE_RANGE"}}],"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":"f1d358137f7ed657db6afec1b1eca0b9f7814e25"},{"fixed":"61b04c907bdbd9e94c3c2b50d0f0be161d7900ce"},{"fixed":"1f7f3f1f59567e2504f0fbebd51ccf004b3ccb1d"}],"database_specific":{"extracted_events":[{"introduced":"3.7"},{"fixed":"5.3.1"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-20042.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}