CVE-2022-4058: Photo Gallery < 1.8.3 - Stored XSS via CSRF

Published Dec 19, 2022
·
Updated

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

1 affected component
10web Photo Gallery Wordpress<1.8.3

Event History

Dec 19, 2022
CVE Published
via MITRE·01:41 PM
Data Sourced
via MITRE·01:41 PM
DescriptionWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203