5.3
/ 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Description
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.
Basic Information
ID
CVE-2026-0831
Source
Wordfence
Published
Jan 10, 2026 at 09:22
Affected Product
Vendor
wpdevteam
Product
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud!
Version
*
Affected Versions
wpdevteam Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! *
CWE Classification
References
- www.wordfence.com /threat-intel/vulnerabilities/id/778242f4-5dfa-4d72-a032-8b5521c5b8ce
- plugins.trac.wordpress.org /browser/templately/tags/3.4.5/includes/Core/Importer/Utils/AIUtils.php
- plugins.trac.wordpress.org /browser/templately/tags/3.4.5/includes/API/AIContent.php
- plugins.trac.wordpress.org /changeset/3426051/