VDB-ID: 177 Title: Persistent XSS Vulnerability in Wordpress plugin AnyVar v0.1.1 Vulnerability Date: 2017-02-21 Download: https://wordpress.org/plugins/anyvar Vendor: https://profiles.wordpress.org/matt_dev/ Notified: 0000-00-00 Vendor Contact: plugins@wordpress.org Description: AnyVar is a simple search and replace plugin. It lets you add changeable variables (text snippets) to posts, sidebars, widgets, links & themes. Vulnerability: $var_name and $var_text aren't sanitized before being sent to the webpage. $var_name only can contain text so only $var_text is exploitable In file ./anyvar/anyvar.php: 202 echo " 203 204 $var_name 205 [$var_name] 206 CVEIDs: CVE-2017-6103 Exploit: In the text field box the following will trigger a JS alert popup: