What the vulnerability does
01Description
The thumb_url parameter of the AJAX call to the editimage_bwg action of admin-ajax.php is vulnerable to reflected Cross Site Scripting. The value of the thumb_url parameter is embedded within an existing JavaScript within the response allowing arbitrary JavaScript to be inserted and executed. The attacker must target a an authenticated user with permissions to access this component to exploit this issue.
Explanation of Vulnerability in Simple Terms
02Summary
PhotoGallery versions 1.0.1 through 1.8.21 contain a cross-site scripting (XSS) vulnerability that allows an authenticated user to inject malicious scripts. The vulnerability requires user interaction and affects the scope beyond the vulnerable component. An attacker with low-level access can craft a malicious request to inject code that executes in other users' browsers.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that execute in other users' browsers when they interact with the plugin.
Potential impact on your site
04Site Impact
Authenticated users can inject scripts affecting other site visitors; impacts confidentiality and integrity of user sessions.
Conditions required to exploit
05Prerequisites
Attacker must have low-level user account access and the victim must click a link or visit a page.
Key dates
06Disclosure timeline
March 26, 2024
CVE published
August 2, 2024
Record updated