CVE-2022-4058 Photo Gallery < 1.8.3 - Stored XSS via CSRF
Stored XSS in Photo Gallery plugin allows attackers to execute scripts in admin sessions via malicious URLs, potentially leading to account takeover.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-4058?
CVE-2022-4058 is a medium-severity cross-site scripting vulnerability in Unknown Photo Gallery by 10Web, published on 19 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The Photo Gallery by 10Web WordPress plugin before 1.8.3 does not validate and escape some parameters before outputting them back in in JS code later on in another page, which could lead to Stored XSS issue when an attacker makes a logged in admin open a malicious URL or page under their control.
Which versions are affected by CVE-2022-4058?
It affects 1 product.
Products include 10web Photo Gallery.
How do I fix CVE-2022-4058?
No fix has been published for CVE-2022-4058 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-4058 being exploited?
There is no known exploitation of CVE-2022-4058 in the wild and no public exploit code.
Other vulnerabilities in Unknown Photo Gallery by 10Web
Sources
Also known as GHSA-pfqm-638w-hphp.