CVE Explorer
CVE-2026-0831
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud!","vendor":"wpdevteam","versions":[{"lessThanOrEqual":"3.4.8","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e749b32eea02d52bd9230ae8e557652df93b9a58405775f43dde7cab18cbf6e4 · sha256:b5a432878db3c917… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e749b32eea02d52bd9230ae8e557652df93b9a58405775f43dde7cab18cbf6e4 · sha256:b5a432878db3c917… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-863","description":"CWE-863 Incorrect Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e749b32eea02d52bd9230ae8e557652df93b9a58405775f43dde7cab18cbf6e4 · sha256:b5a432878db3c917… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"https://plugins.trac.wordpress.org/browser/templately/tags/3.4.5/includes/API/AIContent.php#L38"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e749b32eea02d52bd9230ae8e557652df93b9a58405775f43dde7cab18cbf6e4 · sha256:b5a432878db3c917… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/templately/tags/3.4.5/includes/Core/Importer/Utils/AIUtils.php#L414"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e749b32eea02d52bd9230ae8e557652df93b9a58405775f43dde7cab18cbf6e4 · sha256:b5a432878db3c917… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/changeset/3426051/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e749b32eea02d52bd9230ae8e557652df93b9a58405775f43dde7cab18cbf6e4 · sha256:b5a432878db3c917… · /containers/cna/references/3
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/778242f4-5dfa-4d72-a032-8b5521c5b8ce?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e749b32eea02d52bd9230ae8e557652df93b9a58405775f43dde7cab18cbf6e4 · sha256:b5a432878db3c917… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.