Security News > 2020 > July > Ew, that's unsanitary: SEO plugin for WordPress would run arbitrary JavaScript inputs instead of scrubbing them

Ew, that's unsanitary: SEO plugin for WordPress would run arbitrary JavaScript inputs instead of scrubbing them
2020-07-17 16:46

A popular WordPress search engine optimisation plugin with around two million installs could have been abused to hijack a target website, according to a threat intel firm.

"This flaw allowed authenticated users with contributor level access or above the ability to inject malicious scripts that would be executed if a victim accessed the wp-admin panel's 'all posts' page," said WordPress-focused infosec biz Wordfence in a blog post about the vuln in the All in One SEO Pack plugin.

With WordPress powering a large number of high-profile websites, and All in One SEO being very popular, the potential impact of the vuln was widespread. As its name suggests, the plugin is intended to make the appearance of one's blog posts on Google search results a simple and automated process.

"Unfortunately, the SEO meta data for posts, including the SEO title and SEO description fields, had no input sanitization allowing lower-level users like contributors and authors the ability to inject HTML and malicious JavaScript into those fields," said Wordfence.

An attacker who compromised a lower-level account could insert arbitrary JS into the SEO plugin metadata fields, with that JS being executed once the admin opened the draft post for editing.


News URL

https://go.theregister.com/feed/www.theregister.com/2020/07/17/all_in_one_seo_pack_javascript_sanitisation_vuln/

Related vendor

VENDOR LAST 12M #/PRODUCTS LOW MEDIUM HIGH CRITICAL TOTAL VULNS
Wordpress 7 2 95 44 18 159
Plugin 2 0 13 1 0 14