{"schemaVersion":3,"id":"CVE-2019-20042","aliases":["UBUNTU-CVE-2019-20042","DEBIAN-CVE-2019-20042"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-12-27T07:14:37.000Z","modified":"2024-08-05T02:32:10.548Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"wordfence","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02762,"percentile":0.86089,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02762},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02762,"percentile":0.86089}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02762,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02762,"percentile":0.86089}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"debian","product":"wordpress","name":"wordpress","label":"wordpress","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/wordpress","purlType":"deb","versions":[{"text":"< 5.3.2+dfsg1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.3.2+dfsg1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"wordpress","name":"wordpress","label":"wordpress","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/wordpress","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0 | 10.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"wordpress","product":"wordpress","name":"WordPress","label":"wordpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.7 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 3.7, ≤ 3.7.31 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 3.8, ≤ 3.8.31 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 3.9, ≤ 3.9.29 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 4.0, ≤ 4.0.28 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 4.1, ≤ 4.1.28 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 4.2, ≤ 4.2.25 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 4.3, ≤ 4.3.21 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 4.4, ≤ 4.4.20 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 4.5, ≤ 4.5.19 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 4.6, ≤ 4.6.16 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 4.7, ≤ 4.7.15 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 4.8, ≤ 4.8.11 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 4.9, ≤ 4.9.12 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 5.0, ≤ 5.0.7 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 5.1, ≤ 5.1.3 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"≥ 5.2, ≤ 5.2.4 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"},{"text":"5.3 (fixed in 3.7.32)","noFixRecorded":false,"fixedIn":"3.7.32"}],"versionsText":"< 3.7 (fixed in 3.7.32) | ≥ 3.7, ≤ 3.7.31 (fixed in 3.7.32) | ≥ 3.8, ≤ 3.8.31 (fixed in 3.7.32) | ≥ 3.9, ≤ 3.9.29 (fixed in 3.7.32) | ≥ 4.0, ≤ 4.0.28 (fixed in 3.7.32) | ≥ 4.1, ≤ 4.1.28 (fixed in 3.7.32) | ≥ 4.2, ≤ 4.2.25 (fixed in 3.7.32) | ≥ 4.3, ≤ 4.3.21 (fixed in 3.7.32) | ≥ 4.4, ≤ 4.4.20 (fixed in 3.7.32) | ≥ 4.5, ≤ 4.5.19 (fixed in 3.7.32) | ≥ 4.6, ≤ 4.6.16 (fixed in 3.7.32) | ≥ 4.7, ≤ 4.7.15 (fixed in 3.7.32) | ≥ 4.8, ≤ 4.8.11 (fixed in 3.7.32) | ≥ 4.9, ≤ 4.9.12 (fixed in 3.7.32) | ≥ 5.0, ≤ 5.0.7 (fixed in 3.7.32) | ≥ 5.1, ≤ 5.1.3 (fixed in 3.7.32) | ≥ 5.2, ≤ 5.2.4 (fixed in 3.7.32) | 5.3 (fixed in 3.7.32)","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"wordpress","label":"WordPress","category":"server-app"}},"hubHref":null},{"vendor":"wordpress","product":"wordpress","name":"wordpress","label":"wordpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.7, < 5.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.7, < 5.3.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"wordpress","label":"WordPress","category":"server-app"}},"hubHref":"/vendor/wordpress/wordpress"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://wpvulndb.com/vulnerabilities/9975","label":"wpvulndb.com/vulnerabilities/9975","hostname":"wpvulndb.com","tags":["X Refsource MISC","REPORT","Release Notes","Third Party Advisory"]},{"url":"https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/","label":"wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/","hostname":"wordpress.org","tags":["X Refsource MISC","REPORT","Release Notes","Vendor Advisory"]},{"url":"https://core.trac.wordpress.org/changeset/46894/trunk","label":"core.trac.wordpress.org/changeset/46894/trunk","hostname":"core.trac.wordpress.org","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://github.com/WordPress/wordpress-develop/commit/1f7f3f1f59567e2504f0fbebd51ccf004b3ccb1d","label":"github.com/WordPress/wordpress-develop/commit/1f7f3f1f59567e2504f0fbebd51ccf004b3ccb1d","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://blog.ripstech.com/filter/vulnerabilities/","label":"blog.ripstech.com/filter/vulnerabilities/","hostname":"blog.ripstech.com","tags":["X Refsource MISC","REPORT","Not Applicable"]},{"url":"https://seclists.org/bugtraq/2020/Jan/8","label":"seclists.org/bugtraq/2020/Jan/8","hostname":"seclists.org","tags":["Mailing List","X Refsource BUGTRAQ","Third Party Advisory"]},{"url":"https://www.debian.org/security/2020/dsa-4599","label":"www.debian.org/security/2020/dsa-4599","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-xvg2-m2f4-83m7","label":"github.com/WordPress/wordpress-develop/security/advisories/GHSA-xvg2-m2f4-83m7","hostname":"github.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://hackerone.com/reports/509930","label":"hackerone.com/reports/509930","hostname":"hackerone.com","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"https://www.debian.org/security/2020/dsa-4677","label":"www.debian.org/security/2020/dsa-4677","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-20042","label":"ubuntu.com/security/CVE-2019-20042","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-20042","label":"www.cve.org/CVERecord?id=CVE-2019-20042","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-20042","label":"security-tracker.debian.org/tracker/CVE-2019-20042","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/8c483cf9-fb63-4c43-ad42-1404448540c2","label":"www.wordfence.com/threat-intel/vulnerabilities/id/8c483cf9-fb63-4c43-ad42-1404448540c2","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-4599-1"],"duplicates":["CVE-2019-16773"],"related":[]},"timeline":[{"kind":"published","date":"2019-12-27T07:14:37.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T02:32:10.548Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T07:37:17.634Z","stale":false,"partial":false}}