{"id":"CVE-2026-0831","aliases":["CVE-2026-0831"],"related":[],"kind":"vulnerability","state":"published","title":"Templately <= 3.4.8 - Unauthenticated Limited Arbitrary JSON File Write","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El plugin Templately para WordPress es vulnerable a la escritura arbitraria de archivos en todas las versiones hasta la 3.4.8, inclusive. Esto se debe a una validación de entrada inadecuada en la función 'save_template_to_file()' donde parámetros controlados por el usuario como 'session_id', 'content_id' y 'ai_page_ids' se utilizan para construir rutas de archivo sin una sanitización adecuada. Esto hace posible que atacantes no autenticados escriban archivos '.ai.json' arbitrarios en ubicaciones dentro del directorio de cargas.","source":"nvd"}],"published":"2026-01-10T09:22:18.126Z","modified":"2026-06-17T10:11:27.557Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"3.4.8","status":"affected"}],"vendor":"wpdevteam","product":"Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud!","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/778242f4-5dfa-4d72-a032-8b5521c5b8ce?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/templately/tags/3.4.5/includes/Core/Importer/Utils/AIUtils.php#L414","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/templately/tags/3.4.5/includes/API/AIContent.php#L38","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3426051/","tags":[],"sources":["cvelist","nvd"]}],"credits":["M Indra Purnama"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-01-12T13:07:30.520Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-0831","url":"https://www.cve.org/CVERecord?id=CVE-2026-0831","licence":"CVE Terms of Use","modified":"2026-04-08T17:01:43.379Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-0831","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0831","licence":"Public domain","modified":"2026-06-17T10:11:27.557Z"}],"updatedAt":"2026-11-25T22:59:12.723Z","epss":{"score":0.00271,"percentile":0.20656,"date":"2026-12-01T12:00:22.000Z"}}