XSS Vulnerability
-
Hello. I had a professional security audit of my website done and they found a slight vulnerability in your plugin.
Location: quick-pagepost-redirect-plugin\quick_pagepost_redirect_plugin.php line 246.
$linkcontent[] = '<li class="faq-item"><a name="faq-'.$aqr.'"></a><h3 class="qa"><span class="qa">Q. </span>'.esc_html( $item->get_title() ).'</h3><div class="qa-content"><span class="qa answer">A. </span>'.$item->get_content().'</div><div class="toplink"><a href="#faq-top">top ↑</a></li>';In the ppr_faq_page() function the title is escaped when building the faq html, but not the content. Sanitizing
$item->get_content()should be done as well. The HTML is being read from a vendor’s website, and so it is best to sanitize any outside input.Are there any plans to patch this in the near future? If not I would have to maintain this on my own.
Thank you!
The topic ‘XSS Vulnerability’ is closed to new replies.