CVE-2023-5307: contest-gallery contest_gallery Cross-site Scripting
Vulnerability summary
CVE-2023-5307 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in contest-gallery contest_gallery. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 41.9% of scored vulnerabilities. 2 public exploits are recorded. Fixed in 21.2.8.1.
Timeline
- 31-10-2023PublishedVulnerability first disclosed.
- 22-04-2025Last modifiedVulnerability information updated.
Description
The Photos and Files Contest Gallery WordPress plugin before 21.2.8.1 does not sanitise and escape some parameters, which could allow unauthenticated users to perform Cross-Site Scripting attacks via certain headers.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- wordfenceSource6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.50%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
0.00 pp
From 0.50% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (wpscan.com)
Maturity: unknown
Exploit Reference (research.cleantalk.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Contest-gallery1 product
- contest_gallery< 21.2.8.1
Unknown1 product
- photos and files contest gallery< 21.2.8.1
Wordpress1 product
- contest-gallery< 21.2.8.1
3 vendors · 3 products
References
3 links- wpscan.com/vulnerability/6fac1e09-21ab-430d-b56d-195e7238c08cExploitVDB EntryTechnical DescriptionThird Party Advisory