CVE-2022-1327 Image Gallery - Grid Gallery < 1.1.6 - Admin+ Stored Cross-Site Scripting
High-privileged users can inject malicious scripts via unsanitized image fields in the Image Gallery WordPress plugin, potentially compromising admin sessions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-1327?
CVE-2022-1327 is a medium-severity cross-site scripting vulnerability in Unknown Image Gallery – Grid Gallery, published on 27 Jun 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The Image Gallery WordPress plugin before 1.1.6 does not sanitize and escape some of its Image fields, which could allow high-privileged users such as admin to perform Cross-Site Scripting attacks even when unfiltered_html is disallowed
Weakness: CWE-79
Which versions are affected by CVE-2022-1327?
It affects 1 product.
Products include Rich-Web Image Gallery.
How do I fix CVE-2022-1327?
No fix has been published for CVE-2022-1327 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-1327 being exploited?
There is no known exploitation of CVE-2022-1327 in the wild and no public exploit code.
Sources
Also known as GHSA-p5wh-qr78-vvvh.