Lucene search
+L

WordPress Yoast SEO Cross Site Scripting

🗓️ 04 Aug 2016 00:00:00Reported by Hammad ShamsiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 46 Views

Yoast SEO plugin Stored XSS vulnerability with impact on guest author privilege

Code
`#Vulnerability: Stored XSS Vulnerability in Yoast SEO Plugin  
#Impact: High  
#Authors: Hammad Shamsi  
#Company: RHAinfoSEC  
#Website: http://rafayhackingarticles.net & http://blog.sh3ifu.com/  
  
*Introduction*  
  
Yoast SEO (formerly known as WordPress SEO by Yoast) is the most complete WordPress SEO plugin that exists today for WordPress.org users. It incorporates everything from a snippet editor and real time page analysis functionality that helps you optimize your pages content, images titles, meta descriptions and more to XML sitemaps, and loads of optimization options in between.  
  
  
*Proof Of Concept*  
  
A stored XSS scripting vulnerability was discovered in Yoast SEO plugin for wordpress. The plugin had built-in blacklist filters which were blacklisting Parathesis as well as several functions such as alert. The following POC bypassed:  
  
<img src="z" onerror="prompt&#40document.cookie&#41">   
  
*Impact*  
  
The impact of this vulnerability is moderate as in order to trigger this vulnerability, the attacker must have guest author priviledges. This is dangerous especially in case of news related blogs where anyone is allowed to create a guest account and post articles for review.   
  
  
*Remediation*  
  
All user supplied input must be sanitized before it is reflected inside the application response.   
  
Blacklist must be avoided, instead focus should be made on secure coding.  
  
This issue is fixed on 3.4.1 Version on Yoast SEO Plugin   
https://wordpress.org/plugins/wordpress-seo/changelog/  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Aug 2016 00:00Current
0.1Low risk
Vulners AI Score0.1
46