What the vulnerability does
01Description
The image_id 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 image_id 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 stored cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other users viewing the gallery. The vulnerability requires user interaction—victims must visit a page containing the injected content. The attack can affect other users and potentially escalate privileges within the site.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers when they view the gallery.
Potential impact on your site
04Site Impact
Authenticated users can inject scripts affecting other visitors; potential for session hijacking, credential theft, or privilege escalation.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege account on the site; victim must visit a page with the injected content.
Key dates
06Disclosure timeline
March 26, 2024
CVE published
August 2, 2024
Record updated