By default, the WordPress administrator and editor roles can add unfiltered HTML content in various places, such as post content. This includes the capability to add JavaScript code.
If an account with such a role gets hijacked, this capability can be used to plant malicious JavaScript code that gets executed whenever somebody visits the website.
There is a risk if you answered yes to any of those questions.
The unfiltered_html capability should be granted to trusted roles that need to use markup when publishing dynamic content to the
WordPress website. If this capability is not required for all users, including administrators and editors roles, then it’s recommended to set
DISALLOW_UNFILTERED_HTML to true.
define( 'DISALLOW_UNFILTERED_HTML', false ); // sensitive
define( 'DISALLOW_UNFILTERED_HTML', true );