WordPress Plugin Vulnerabilities

Templately < 3.4.9 - Unauthenticated Limited Arbitrary JSON File Write

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.

Affects Plugins

Fixed in 3.4.9

References

Classification

Type
INCORRECT AUTHORISATION
CWE

Miscellaneous

Original Researcher
type5afe
Verified
No

Timeline

Publicly Published
2026-01-09 (about 4 months ago)
Added
2026-01-09 (about 4 months ago)
Last Updated
2026-01-11 (about 4 months ago)

Other