CVE-2022-4058

Photo Gallery < 1.8.3 - Stored XSS via CSRF

No CVSS score yet EPSS 0.26%

Published 19 Dec 2022 Updated 3 Aug 2024 CNA: 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.

Exploitation

EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.7% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

  • CWE-79 Improper Neutralization of Input During Web Page Generation
  • CWE-352 Cross-Site Request Forgery

Affected products

As the CNA lists them.

ProductVersions
Photo Gallery by 10Web
Unknown
affected before 1.8.3
Other versions: unaffected

Is my server affected?

This CVE is in a product, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Exploits and proof of concept

Source: the record CVE-2022-4058 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.