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.
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.
Link | Tags |
---|---|
https://wpvulndb.com/vulnerabilities/9976 | third party advisory |
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x3wp-h3qx-9w94 | third party advisory |
https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/ | third party advisory release notes |
https://github.com/WordPress/wordpress-develop/commit/505dd6a20b6fc3d06130018c1caeff764248c29e | third party advisory patch |
https://hackerone.com/reports/738644 | third party advisory permissions required |
https://seclists.org/bugtraq/2020/Jan/8 | third party advisory mailing list |
https://www.debian.org/security/2020/dsa-4599 | third party advisory vendor advisory |
https://www.debian.org/security/2020/dsa-4677 | third party advisory vendor advisory |