CVE-2026-0831: Templately WordPress plugin - Unrestricted File Upload
- Cve: CVE-2026-0831
- Name: Templately WordPress plugin - Unrestricted File Upload
- 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.
- Impact: Unauthenticated attackers can write arbitrary files to the uploads directory, potentially leading to code execution or site compromise.
- Remediation: Update to the latest version beyond 3.4.8.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.00271
- Epss percentile: 0.1953
- Assignee: [email protected]
- Published at: 2026-01-10T10:15:50Z
- Age in days: 318
- Modified at: 2026-06-17T10:11:27Z
- References total: 4
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-0831
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-863 | Incorrect Authorization |
References
Same in every row:
- Source: nvd
- Tags:
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts