CVE-2022-4058

Public Exploit
Photo Gallery < 1.8.3 - Stored XSS via CSRF

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.

5.4
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.10%
Third-Party Advisory wpscan.com
Affected: Unknown Photo Gallery by 10Web
Published at:
Updated at:

References

Link Tags
https://wpscan.com/vulnerability/89656cb3-4611-4ae7-b7f8-1b22eb75cfc4 exploit vdb entry third party advisory technical description

Frequently Asked Questions

What is the severity of CVE-2022-4058?
CVE-2022-4058 has been scored as a medium severity vulnerability.
How to fix CVE-2022-4058?
To fix CVE-2022-4058, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-4058 being actively exploited in the wild?
It is possible that CVE-2022-4058 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-4058?
CVE-2022-4058 affects Unknown Photo Gallery by 10Web.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.