What the vulnerability does
01Description
The Templately plugin for WordPress is vulnerable to Arbitrary File Write in all versions up to, and including, 3.4.8. This is due to inadequate input validation in the `save_template_to_file()` function where user-controlled parameters like `session_id`, `content_id`, and `ai_page_ids` are used to construct file paths without proper sanitization. This makes it possible for unauthenticated attackers to write arbitrary `.ai.json` files to locations within the uploads directory.
Explanation of Vulnerability in Simple Terms
02Summary
Templately versions up to 3.4.8 contain an authorization flaw that allows unauthenticated attackers to modify site content. The vulnerability stems from incorrect permission checks on certain API endpoints. No user interaction is required to exploit this issue. Site administrators should update to a version newer than 3.4.8 immediately.
What an attacker can do
03Attacker Capabilities
Modify site content without authentication or permission.
Potential impact on your site
04Site Impact
Attackers can alter templates, pages, or other content managed by Templately without logging in.
Conditions required to exploit
05Prerequisites
Network access only; no authentication or user interaction required.
Key dates
06Disclosure timeline
January 10, 2026
CVE published
April 8, 2026
Record updated