Technical impact
The vulnerability is caused by insufficient input sanitization and output escaping when the plugin processes IPTC 2#120 (caption) and 2#005 (title) fields embedded in image files. An attacker who can upload a crafted image can inject JavaScript that will execute in the context of any user who views a page that displays the affected image, leading to cross‑site scripting attacks.
Affected Systems
All installations of the NextGEN Gallery plugin for WordPress with versions 4.5.5 or older are affected. The flaw is present in the standard image import workflow used by photographers, client galleries, and contest submissions, where an authenticated user with image‑edit permissions uploads images into galleries.
Risk and Exploitability
The CVSS score of 7.2 reflects a moderate severity, while the lack of an available EPSS score and the current absence from the KEV catalog suggest that the vulnerability is not yet widely exploited. However, because it requires only an authenticated user with image‑edit rights—and then affects all visitors—there is a realistic risk of malicious scripts running on collaborative galleries or client-facing pages. Attackers could steal session cookies, deface interfaces, or inject additional payloads.