CVE-2025-5096
Tablepress vulnerability
The TablePress plugin for WordPress is vulnerable to DOM-Based Stored Cross-Site Scripting via the 'data-caption', 'data-s-content-padding', 'data-s-title', and 'data-footer' data-attributes in all versions up to, and including, 3.1.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected products
Tablepress. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Tablepress runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/DataTables/DataTablesSrc/commit/d278ed307035cb8740d2fad86b7cbb995380f7bb · Patch
- github.com/DataTables/DataTablesSrc/commit/d558328106bef2d48dfc4cf78581dd106f5c1077 · Patch
- plugins.trac.wordpress.org/changeset/3298453/tablepress · Patch
- www.wordfence.com/threat-intel/vulnerabilities/id/cd2dfa02-0404-4300-a5ed-6326f9df6d30?sou · Third Party Advisory
- datatables.net/
- github.com/DataTables/DataTablesSrc/blob/29539c40504365bc4be0599e4b0739cf270a2e09/js/core/
- plugins.trac.wordpress.org/browser/tablepress/tags/3.1.2/js/jquery.datatables.min.js
- tablepress.org/release-announcement-tablepress-3-1-3/
- nvd.nist.gov/vuln/detail/CVE-2025-5096
- cve.org/CVERecord?id=CVE-2025-5096
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.