We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-3491

Add custom page template <= 2.0.1 - Authenticated (Administrator+) PHP Code Injection to Remote Code Execution



Description

The Add custom page template plugin for WordPress is vulnerable to PHP Code Injection leading to Remote Code Execution in all versions up to, and including, 2.0.1 via the 'acpt_validate_setting' function. This is due to insufficient sanitization of the 'template_name' parameter. This makes it possible for authenticated attackers, with Administrator-level access and above, to execute code on the server.

Reserved 2025-04-10 | Published 2025-04-26 | Updated 2025-04-28 | Assigner Wordfence


HIGH: 7.2CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-94 Improper Control of Generation of Code ('Code Injection')

Product status

Default status
unaffected

*
affected

Timeline

2025-04-25:Disclosed

Credits

ch4r0n finder

References

www.wordfence.com/...-b166-4d1f-8042-d0362e650c62?source=cve

plugins.svn.wordpress.org/...m-page-template/trunk/index.php

cve.org (CVE-2025-3491)

nvd.nist.gov (CVE-2025-3491)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-3491

Support options

Helpdesk Chat, Email, Knowledgebase