CVE-2025-15187 GreenCMS File DataController.class.php path traversal

Medium 5.1 Published Updated

Remote attackers can exploit path traversal in GreenCMS File Handler to read or modify arbitrary files, affecting unsupported versions.

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

What is CVE-2025-15187?

CVE-2025-15187 is a medium-severity path traversal vulnerability in GreenCMS, published on 29 Dec 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability was found in GreenCMS up to 2.3. This affects an unknown part of the file /DataController.class.php of the component File Handler. Performing a manipulation of the argument sqlFiles/zipFiles results in path traversal. The attack can be initiated remotely. The exploit has been made public and could be used. This vulnerability only affects products that are no longer supported by the maintainer.

Weakness: CWE-22

Which versions are affected by CVE-2025-15187?

It affects 1 product.

Products include Njtech Greencms.

How do I fix CVE-2025-15187?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-15187 being exploited?

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

Sources

Also known as GHSA-gr57-9g27-x5wx.

Is CVE-2025-15187 in your software?

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

Check your SBOMs for free