Description
WordPress Plugin WP Business Directory is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress Plugin WP Business Directory version 1.0.5 is vulnerable; prior versions may also be affected.
Remediation
Edit the source code to ensure that input is properly sanitised or disable the plugin until a fix is available
References
https://blog.anantshri.info/forgotten_disclosure_dom_xss_prettyphoto
https://github.com/wpscanteam/wpscan/issues/818
https://github.com/scaron/prettyphoto/issues/149
http://www.perucrack.net/2014/07/haciendo-un-xss-en-plugin-prettyphoto.html
Related Vulnerabilities
WordPress Plugin LazyEater Multiple Unspecified Vulnerabilities (1.2.4)
WordPress Plugin EU Cookie Law for GDPR/CCPA Cross-Site Scripting (3.0.6)
Oracle Database Server CVE-2022-21247 Vulnerability (CVE-2022-21247)
Jboss EAP Observable Differences in Behavior to Error Inputs Vulnerability (CVE-2021-3642)
IBM RTC Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2016-2987)