{"api_version":"1","generated_at":"2026-07-23T10:54:17+00:00","cve":"CVE-2019-16781","urls":{"html":"https://cve.report/CVE-2019-16781","api":"https://cve.report/api/cve/CVE-2019-16781.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-16781","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-16781"},"summary":{"title":"CVE-2019-16781","description":"In WordPress before 5.3.1, authenticated users with lower privileges (like contributors) can inject JavaScript code in the block editor, which is executed within the dashboard. It can lead to an admin opening the affected post in the editor leading to XSS.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2019-12-26 17:15:00","updated_at":"2023-01-19 03:04:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-pg4x-64rh-3c9v","name":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-pg4x-64rh-3c9v","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"Authenticated cross-site scripting (XSS) in WordPress block editor (within dashboard) · Advisory · WordPress/wordpress-develop · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://hackerone.com/reports/731301","name":"https://hackerone.com/reports/731301","refsource":"MISC","tags":["Permissions Required","Third Party Advisory"],"title":"HackerOne","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-16781","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16781","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"16781","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":"16781","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":"16781","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":"16781","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"wordpress","cpe5":"wordpress","cpe6":"*","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-16781","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":"In WordPress before 5.3.1, authenticated users with lower privileges (like contributors) can inject JavaScript code in the block editor, which is executed within the dashboard. It can lead to an admin opening the affected post in the editor leading to XSS."}]},"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://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/security/advisories/GHSA-pg4x-64rh-3c9v","refsource":"CONFIRM","url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-pg4x-64rh-3c9v"},{"name":"https://hackerone.com/reports/731301","refsource":"MISC","url":"https://hackerone.com/reports/731301"},{"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-pg4x-64rh-3c9v","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2019-12-26 17:15:00","lastModifiedDate":"2023-01-19 03:04: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:*:*:*:*:*:*:*:*","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":"16781","Ordinal":"156503","Title":"CVE-2019-16781","CVE":"CVE-2019-16781","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"16781","Ordinal":"1","NoteData":"In WordPress before 5.3.1, authenticated users with lower privileges (like contributors) can inject JavaScript code in the block editor, which is executed within the dashboard. It can lead to an admin opening the affected post in the editor leading to XSS.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"16781","Ordinal":"2","NoteData":"2019-12-26","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"16781","Ordinal":"3","NoteData":"2020-05-06","Type":"Other","Title":"Modified"}]}}}