CVE-2023-5307
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.
Severity
MEDIUM
CVSS v3
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N · source nvd
Exploit chance (EPSS)
0.587%
chance of exploitation in the next 30 days
higher than 48.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2025-04-22 |
Timeline
- 2023-10-31Published by the CNA13:54 UTC
- 2025-04-22CISA SSVC decision recorded539 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| contest-gallery contest_gallery | before 21.2.8.1fixed in 21.2.8.1 | 21.2.8.1 |
References
- https://research.cleantalk.org/cve-2023-5307-photos-and-files-contest-gallery-contact-form-21-2-8-1-unauthenticated-stored-xss-via-http-headers
- https://wpscan.com/vulnerability/6fac1e09-21ab-430d-b56d-195e7238c08c
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2023-5307'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2023-5307'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2023-5307'curl 'https://api.contrastcyber.com/cve_products/CVE-2023-5307'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).