### [CVE-2022-1946](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1946) ![](https://img.shields.io/static/v1?label=Product&message=Gallery%20%E2%80%93%20Image%20and%20Video%20Gallery%20with%20Thumbnails&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=2.0.0%3C%202.0.0%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brighgreen) ### 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 ### POC #### Reference - https://wpscan.com/vulnerability/0903920c-be2e-4515-901f-87253eb30940 #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/ARPSyndicate/kenzer-templates - https://github.com/cyllective/CVEs