CVE-2022-1946
Gallery < 2.0.0 - Reflected Cross-Site Scripting
Record summary
CVE-2022-1946 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.
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
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
Gallery – Image and Video Gallery with Thumbnails | CVE List | 2.0.0 to < 2.0.0 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMWordPress Gallery <2.0.0 - Cross-Site ScriptingCVSS 6.1
WordPress Gallery plugin before 2.0.0 contains a reflected cross-site scripting vulnerability. It does not sanitize and escape a parameter before outputting it back in the response of an AJAX action, available to both unauthenticated and authenticated users.
Impact
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the website, leading to potential data theft, session hijacking, or defacement.
Remediation
Update the WordPress Gallery plugin to version 2.0.0 or later to mitigate the vulnerability.
Source: ProjectDiscovery