CVE-2022-3991: Photospace Gallery <= 2.3.5 - Authenticated (Subscriber+) Stored Cross-Site Scripting
Vulnerability summary
CVE-2022-3991 is a medium (CVSS 6.4) Cross-site Scripting vulnerability in deanoakley photospace gallery. EPSS estimates a 0.67% chance of exploitation in the next 30 days, higher than 51.4% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 29-11-2022PublishedVulnerability first disclosed.
- 08-04-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
- wordfenceSource6.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.67%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.65% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (plugins.trac.wordpress.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Deanoakley1 product
- photospace gallery≤ 2.3.5
Photospace_gallery_project1 product
- photospace_gallery≤ 2.3.5
Wordpress1 product
- photospace≤ 2.3.5
3 vendors · 3 products
References
4 links- www.wordfence.com/vulnerability-advisories-continued/Third Party Advisory