Ultimate Instagram Feed <= 1.3.1 - Authenticated Cross-Site Scripting (XSS)

Sign up to our free email alerts service for instant vulnerability notifications!

Description
In regards to https://wpvulndb.com/vulnerabilities/8947, the XSS vulnerability remains in 1.3 and 1.3.1 as the author passes _GET['access_token'] to sanitize_text_field(). However, the value is inserted into an attribute of an element, and sanitize_text_field() does not filter for quotes (single or double). Therefore, injecting %22+onblur%3D%22alert%281%29 for access_token will still result in an exploitable injection.  I have reached out to the author but have not received a response yet. I've also contracted the plugin team at WordPress.org
Proof of Concept
While logged in
http://yoursite.com/wp-admin/admin.php?page=ultimate-instagram-feed.php&access_token=%22+onblur%3D%22alert%281%29 

Affects Plugin

References

URL https://wpvulndb.com/vulnerabilities/8947

Classification

Type XSS
OWASP Top 10 A3: Cross-Site Scripting (XSS)
CWE CWE-79

Miscellaneous

Submitter Gilzow
Submitter Website http://missouri.edu
Submitter Twitter gilzow
Views 83
Verified No
WPVDB ID 8951

Timeline

Publicly Published 2017-11-10 (10 days ago)
Added 2017-11-12 (7 days ago)
Last Updated 2017-11-12 (7 days ago)

Copyright & License

Copyright All data and resources contained within this page and this web site is Copyright © The WPScan Team.
License Some of this data may be used for non-commercial purposes, however, any potential commercial usage of this data will require a license. If you would like to inquire about a commercial license please contact us.