CVE-2025-11031 DataTables examples.php path traversal

Medium 6.9 Published Updated

Remote attackers can read arbitrary files via path traversal in the examples.php file, which should not be deployed in production environments.

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-11031?

CVE-2025-11031 is a medium-severity path traversal vulnerability in DataTables, published on 26 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw has been found in DataTables up to 1.10.13. The affected element is an unknown function of the file /examples/resources/examples.php. This manipulation of the argument src causes path traversal. It is possible to initiate the attack remotely. The exploit has been published and may be used. Upgrading to version 1.10.15 is sufficient to fix this issue. Patch name: 3b24f99ac4ddb7f9072076b0d07f0b1a408f177a. Upgrading the affected component is advised. This vulnerability was initially reported for code-projects Faculty Management System but appears to affect DataTables as an upstream component instead. The vendor of DataTables explains: "I would suggest that the author upgrade to the latest versions of DataTables (actually, they shouldn't really be deploying that file to their own server at all - it is only relevant for the DataTables examples)."

Weakness: CWE-22

Which versions are affected by CVE-2025-11031?

It affects 1 product.

Products include Sprymedia Datatables.

How do I fix CVE-2025-11031?

No fix has been published for CVE-2025-11031 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-11031 being exploited?

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

Sources

Also known as GHSA-h5mg-c768-q2fp.

Is CVE-2025-11031 in your software?

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

Check your SBOMs for free