Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/templately/tags/3.4.5/includes/API/AI
- https://plugins.trac.wordpress.org/browser/templately/tags/3.4.5/includes/Core/I
- https://plugins.trac.wordpress.org/changeset/3426051/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/778242f4-5dfa-4d72-a03
FAQ
What is CVE-2026-0831?
CVE-2026-0831 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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()` funct...
How severe is CVE-2026-0831?
CVE-2026-0831 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-0831?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.