title: WPCode Lite < 2.0.9 - Arbitrary Log File Deletion via CSRF
description: The WPCode WordPress plugin before 2.0.9 has a flawed CSRF when deleting log, and does not ensure that the file to be deleted is inside the expected folder. This could allow attackers to make users with the wpcode_activate_snippets capability delete arbitrary log files on the server, including outside of the blog folders
problem types: CWE-352 Cross-Site Request Forgery (CSRF)
affected:
{
vendor: Unknown
product: WPCode
versions:
status: affected, versionType: custom, version: 0, lessThan: 2.0.9
defaultStatus: unaffected
collectionURL: https://wordpress.org/plugins
}