Description
Simple Link Directory through 9.0.4 interpolates the sld_no_results_found option into a JavaScript string literal without encoding. Because sanitize_text_field leaves quotes intact, a stored payload breaks out of the string and runs script for every page visitor.
Problem types
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Credits
Scott Moore - VulnCheck
References
wordpress.org/plugins/simple-link-directory/ (WordPress Plugin Repository)
www.vulncheck.com/...red-xss-via-sld-no-results-found-option (VulnCheck Advisory: Simple Link Directory through 9.0.4 Stored XSS via sld_no_results_found Option)