CVE-2023-5307 Photos and Files Contest Gallery – Contact Form < 21.2.8.1 - Unauthenticated Stored XSS via HTTP Headers
Unauthenticated attackers can inject malicious scripts via HTTP headers in the Photos and Files Contest Gallery WordPress plugin, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-5307?
CVE-2023-5307 is a medium-severity cross-site scripting vulnerability in Unknown Photos and Files Contest Gallery, published on 31 Oct 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2023-5307?
It affects 1 product.
Products include Contest-Gallery Contest Gallery.
How do I fix CVE-2023-5307?
No fix has been published for CVE-2023-5307 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-5307 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5307 exists.
Other vulnerabilities in Unknown Photos and Files Contest Gallery
- CVE-2024-11103 Contest Gallery <= 24.0.7 - Unauthenticated Arbitrary Password Reset to Privilege Escalation/Account Takeover
- CVE-2024-10687 SQL injection in Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe
- CVE-2019-5974 Cross-site request forgery in Contest Gallery
- CVE-2024-32778 WordPress Contest Gallery plugin <= 21.3.4 - Arbitrary File Deletion vulnerability
- CVE-2024-30236 WordPress Contest Gallery plugin <= 21.3.4 - SQL Injection vulnerability
Sources
Also known as GHSA-hmf3-8cx7-g4jw.