{"api_version":"1","generated_at":"2026-07-23T11:50:55+00:00","cve":"CVE-2019-16780","urls":{"html":"https://cve.report/CVE-2019-16780","api":"https://cve.report/api/cve/CVE-2019-16780.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-16780","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-16780"},"summary":{"title":"CVE-2019-16780","description":"WordPress users with lower privileges (like contributors) can inject JavaScript code in the block editor using a specific payload, which is executed within the dashboard. This can lead to XSS if an admin opens the post in the editor. Execution of this attack does require an authenticated user. 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. Automatic updates are enabled by default for minor releases and we strongly recommend that you keep them enabled.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2019-12-26 17:15:00","updated_at":"2022-11-23 20:12:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/WordPress/wordpress-develop/commit/505dd6a20b6fc3d06130018c1caeff764248c29e","name":"https://github.com/WordPress/wordpress-develop/commit/505dd6a20b6fc3d06130018c1caeff764248c29e","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Prevent stored XSS in the block editor. · WordPress/wordpress-develop@505dd6a · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://hackerone.com/reports/738644","name":"https://hackerone.com/reports/738644","refsource":"MISC","tags":["Permissions Required","Third Party Advisory"],"title":"HackerOne","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x3wp-h3qx-9w94","name":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x3wp-h3qx-9w94","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"Stored cross-site scripting (XSS) in WordPress block editor · Advisory · WordPress/wordpress-develop · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.debian.org/security/2020/dsa-4677","name":"DSA-4677","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-4677-1 wordpress","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://wpvulndb.com/vulnerabilities/9976","name":"https://wpvulndb.com/vulnerabilities/9976","refsource":"MISC","tags":["Third Party Advisory"],"title":"WordPress <= 5.3 - Stored XSS via Block Editor Content","mime":"text/html","httpstatus":"403","archivestatus":"200"},{"url":"https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/","name":"https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/","refsource":"MISC","tags":["Release Notes","Third Party Advisory"],"title":"News – WordPress 5.3.1 Security and Maintenance Release – WordPress.org","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.debian.org/security/2020/dsa-4599","name":"DSA-4599","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-4599-1 wordpress","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://seclists.org/bugtraq/2020/Jan/8","name":"20200108 [SECURITY] [DSA 4599-1] wordpress security update","refsource":"BUGTRAQ","tags":[],"title":"Bugtraq: [SECURITY] [DSA 4599-1] wordpress security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-16780","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16780","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"16780","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"16780","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"16780","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"wordpress","cpe5":"wordpress","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"16780","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"wordpress","cpe5":"wordpress","cpe6":"3.7","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"16780","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"wordpress","cpe5":"wordpress","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"16780","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"wordpress","cpe5":"wordpress","cpe6":"3.7","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2019-16780","STATE":"PUBLIC","TITLE":"Stored cross-site scripting (XSS) in WordPress block editor"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"WordPress","version":{"version_data":[{"version_affected":"<","version_name":"< 5.3.1","version_value":"5.3.1"}]}}]},"vendor_name":"WordPress"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"WordPress users with lower privileges (like contributors) can inject JavaScript code in the block editor using a specific payload, which is executed within the dashboard. This can lead to XSS if an admin opens the post in the editor. Execution of this attack does require an authenticated user. 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. Automatic updates are enabled by default for minor releases and we strongly recommend that you keep them enabled."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Cross-site Scripting (XSS)"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://wpvulndb.com/vulnerabilities/9976","url":"https://wpvulndb.com/vulnerabilities/9976"},{"name":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x3wp-h3qx-9w94","refsource":"CONFIRM","url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x3wp-h3qx-9w94"},{"name":"https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/","refsource":"MISC","url":"https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/"},{"name":"https://github.com/WordPress/wordpress-develop/commit/505dd6a20b6fc3d06130018c1caeff764248c29e","refsource":"MISC","url":"https://github.com/WordPress/wordpress-develop/commit/505dd6a20b6fc3d06130018c1caeff764248c29e"},{"name":"https://hackerone.com/reports/738644","refsource":"MISC","url":"https://hackerone.com/reports/738644"},{"refsource":"BUGTRAQ","name":"20200108 [SECURITY] [DSA 4599-1] wordpress security update","url":"https://seclists.org/bugtraq/2020/Jan/8"},{"refsource":"DEBIAN","name":"DSA-4599","url":"https://www.debian.org/security/2020/dsa-4599"},{"refsource":"DEBIAN","name":"DSA-4677","url":"https://www.debian.org/security/2020/dsa-4677"}]},"source":{"advisory":"GHSA-x3wp-h3qx-9w94","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2019-12-26 17:15:00","lastModifiedDate":"2022-11-23 20:12:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":3.5},"severity":"LOW","exploitabilityScore":6.8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:wordpress:wordpress:3.7:-:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*","versionStartExcluding":"3.7","versionEndExcluding":"5.3.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"16780","Ordinal":"156502","Title":"CVE-2019-16780","CVE":"CVE-2019-16780","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"16780","Ordinal":"1","NoteData":"WordPress users with lower privileges (like contributors) can inject JavaScript code in the block editor using a specific payload, which is executed within the dashboard. This can lead to XSS if an admin opens the post in the editor. Execution of this attack does require an authenticated user. 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. Automatic updates are enabled by default for minor releases and we strongly recommend that you keep them enabled.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"16780","Ordinal":"2","NoteData":"2019-12-26","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"16780","Ordinal":"3","NoteData":"2020-05-06","Type":"Other","Title":"Modified"}]}}}