Description
WordPress Plugin Attach Gallery Posts 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 Attach Gallery Posts version 1.6 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
Related Vulnerabilities
Moodle Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2012-1159)
Drupal Permissions, Privileges, and Access Controls Vulnerability (CVE-2007-5597)
Apache HTTP Server Improper Authentication Vulnerability (CVE-2018-1312)