# CVE-2026-0831: Templately <= 3.4.8 - Unauthenticated Limited Arbitrary JSON File Write

- Severity: Medium 5.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-01-10T09:22:18.126Z
- Modified: 2026-06-17T10:11:27.557Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- wpdevteam Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud!: up to 3.4.8

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/778242f4-5dfa-4d72-a032-8b5521c5b8ce?source=cve>
- <https://plugins.trac.wordpress.org/browser/templately/tags/3.4.5/includes/Core/Importer/Utils/AIUtils.php#L414>
- <https://plugins.trac.wordpress.org/browser/templately/tags/3.4.5/includes/API/AIContent.php#L38>
- <https://plugins.trac.wordpress.org/changeset/3426051/>

## Sources

- CVE List: [CVE-2026-0831](https://www.cve.org/CVERecord?id=CVE-2026-0831), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-0831](https://nvd.nist.gov/vuln/detail/CVE-2026-0831), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-0831 · Whole record: https://cve.day/CVE-2026-0831.json · Rebuilt by cve.day 2026-11-25T22:59:12.723Z
