CVE-2022-4058: Photo Gallery < 1.8.3 - Stored XSS via CSRF
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.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2022-4058?
CVE-2022-4058 is a vulnerability in the Photo Gallery by 10Web WordPress plugin before version 1.8.3 that allows for a stored cross-site scripting (XSS) attack.
How does CVE-2022-4058 occur?
CVE-2022-4058 occurs because the plugin does not properly validate and escape certain parameters before outputting them in JavaScript code on another page, allowing an attacker to execute malicious code.
What is the severity of CVE-2022-4058?
The severity of CVE-2022-4058 is rated as medium, with a severity value of 5.4.
How can I fix CVE-2022-4058?
To fix CVE-2022-4058, you should update the Photo Gallery by 10Web WordPress plugin to version 1.8.3 or later, which contains the necessary fixes for this vulnerability.
What is a stored cross-site scripting (XSS) attack?
A stored cross-site scripting (XSS) attack is an attack where malicious code is injected into a website and then executed by other users who access the affected page, potentially leading to the theft of sensitive information or the compromise of user accounts.