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

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-19T13:41:43.962Z
- Modified: 2026-06-17T05:19:52.063Z
- Weaknesses: CWE-79, CWE-352
- Assigned by: WPScan

## 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.

(As written by CVE List.)

## Affected

- Unknown Photo Gallery by 10Web: before 1.8.3
- 10web photo_gallery: before 1.8.3

## References

- <https://wpscan.com/vulnerability/89656cb3-4611-4ae7-b7f8-1b22eb75cfc4> (exploit, technical-description, third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2022-4058](https://www.cve.org/CVERecord?id=CVE-2022-4058), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-4058](https://nvd.nist.gov/vuln/detail/CVE-2022-4058), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4058 · Whole record: https://cve.day/CVE-2022-4058.json · Rebuilt by cve.day 2026-11-25T22:58:17.681Z
