CVE-2025-25789 Code injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code remotely via the Sitemap controller in FoxCMS, requiring immediate attention from site administrators.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-25789?

CVE-2025-25789 is a critical code injection vulnerability in n/a, published on 26 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

FoxCMS v1.2.5 was discovered to contain a remote code execution (RCE) vulnerability via the index() method at \controller\Sitemap.php.

Weakness: CWE-94

Which versions are affected by CVE-2025-25789?

It affects 1 product.

Products include Foxcms Foxcms.

How do I fix CVE-2025-25789?

No fix has been published for CVE-2025-25789 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-25789 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-25789 exists.

Sources

Also known as GHSA-27jp-f6mj-xr9q.

Is CVE-2025-25789 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free