Home / Photos and Files Contest Gallery / Photos and Files Contest Gallery / CVE-2023-5307
CVE-2023-5307: is it exploited, and which versions of Photos and Files Contest Gallery are affected and fixed?
CVE-2023-5307 is a cross-site scripting (XSS) vulnerability in Photos and Files Contest Gallery. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: Photos and Files Contest Gallery before 21.2.8.1 (CVE record by WPScan). Fixed in 21.2.8.1 (CVE record by WPScan). Severity: Medium (6.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:34 UTC.
What is CVE-2023-5307?
Photos and Files Contest Gallery – Contact Form < 21.2.8.1 - Unauthenticated Stored XSS via HTTP Headers
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.
From the CVE record by WPScan, last updated April 22, 2025, 20:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Photos and Files Contest Gallery | before 21.2.8.1 | 21.2.8.1 |
As the CVE record by WPScan states it, last updated April 22, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| contest-gallery | contest gallery | before 21.2.8.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:48 UTC.
How severe is CVE-2023-5307?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | CISA-ADP |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-5307 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, April 22, 2025)
- EPSS
- 0.59% probability of exploitation activity in the next 30 days, percentile 49.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://wpscan.com/vulnerability/6fac1e09-21ab-430d-b56d-195e7238c08c exploit, vdb-entry, technical-description
- https://research.cleantalk.org/cve-2023-5307-photos-and-files-contest-gallery-contact-form-21-2-8-1-unauthenticated-stored-xss-via-http-headers
Who found and reported it?
- Dmitrii Ignatyev (finder)
- WPScan (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 29, 2023
- Published
- October 31, 2023, 13:54 UTC
- CVE record updated
- April 22, 2025, 20:03 UTC by WPScan
- NVD
- Modified, last modified June 17, 2026, 06:48 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:34 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Photos and Files Contest Gallery?
- Mar 11, 2024CVE-2024-1487 Photos and Files Contest Gallery: cross-site scripting (XSS)
Every CVE in Photos and Files Contest Gallery
Questions about CVE-2023-5307
Is CVE-2023-5307 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.59% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Photos and Files Contest Gallery are affected by CVE-2023-5307?
Photos and Files Contest Gallery before 21.2.8.1, per the CVE record by WPScan. The tables above give every range the sources list.
Which version fixes CVE-2023-5307?
21.2.8.1, per the CVE record by WPScan. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-5307?
Medium (6.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2023-5307?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.