What’s Vulnerable › Vulnerabilities
CVE-2022-3991: Photospace Gallery <= 2.3.5 - Authenticated (Subscriber+) Stored Cross-Site Scripting
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-11-29 · updated 2026-06-17
- Weakness: CWE-79
Description
The Photospace Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via its settings parameters saved via the update() function in versions up to, and including, 2.3.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected products
- Dean Oakley Photospace Gallery (WordPress plugin): through 2.3.5
References
- https://plugins.trac.wordpress.org/browser/photospace/trunk/photospace.php#L87
- https://www.wordfence.com/threat-intel/vulnerabilities/id/51212d87-8723-4ba7-8fa4-78912a56385f?source=cve
- https://www.wordfence.com/vulnerability-advisories-continued/#CVE-2022-3991
- https://plugins.trac.wordpress.org/browser/photospace/trunk/photospace.php#L87
- https://www.wordfence.com/vulnerability-advisories-continued/#CVE-2022-3991
Get alerted when CVE-2022-3991 or the next vulnerability affects your stack