# CVE-2022-1946: Gallery < 2.0.0 - Reflected Cross-Site Scripting

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/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): 1.77%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-07-04T13:05:50.000Z
- Modified: 2026-06-17T04:23:24.267Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The Gallery WordPress plugin before 2.0.0 does not sanitise and escape a parameter before outputting it back in the response of an AJAX action (available to both unauthenticated and authenticated users), leading to a Reflected Cross-Site Scripting issue

(As written by CVE List.)

## Affected

- Unknown Gallery – Image and Video Gallery with Thumbnails: from 2.0.0 before 2.0.0
- wpdevart gallery: before 2.0.0

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/0903920c-be2e-4515-901f-87253eb30940> (exploit, third-party-advisory)

## Sources

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

---

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