# CVE-2023-5307: Photos and Files Contest Gallery – Contact Form < 21.2.8.1 - Unauthenticated Stored XSS via HTTP Headers

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-10-31T13:54:43.166Z
- Modified: 2026-06-17T06:48:18.533Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: WPScan

## 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.

(As written by CVE List.)

## Affected

- Unknown Photos and Files Contest Gallery: before 21.2.8.1
- contest-gallery contest_gallery: before 21.2.8.1

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://wpscan.com/vulnerability/6fac1e09-21ab-430d-b56d-195e7238c08c> (exploit, technical-description, third-party-advisory, vdb-entry)
- <https://research.cleantalk.org/cve-2023-5307-photos-and-files-contest-gallery-contact-form-21-2-8-1-unauthenticated-stored-xss-via-http-headers> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2023-5307](https://www.cve.org/CVERecord?id=CVE-2023-5307), CVE Terms of Use, modified 2025-04-22
- NVD: [CVE-2023-5307](https://nvd.nist.gov/vuln/detail/CVE-2023-5307), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-5307 · Whole record: https://cve.day/CVE-2023-5307.json · Rebuilt by cve.day 2026-11-25T22:58:29.857Z
