Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Authenticated Contributor reachable over the network (AV:N, PR:L); file deletion yields high availability and partial integrity impact but no data disclosure (C:N, I:L, A:H).
Primary rating from Vendor (patchstack).
CVSS VectorVendor: patchstack
Lifecycle Timeline
1DescriptionCVE.org
Contributor Arbitrary File Deletion in H5P <= 1.17.7 versions.
AnalysisAI
Arbitrary file deletion in the H5P WordPress plugin (versions 1.17.7 and earlier) lets a low-privileged authenticated user with Contributor-level access delete arbitrary files on the server via path traversal. The CVSS:3.1 vector (AV:N/PR:L) confirms remote, low-privilege exploitation with high availability impact, and no public exploit has been identified at time of analysis. Deleting critical files such as wp-config.php can break the site or, in some setups, enable a reinstallation-based takeover.
Technical ContextAI
H5P is a popular WordPress plugin that lets authors embed interactive HTML5 content (quizzes, presentations, interactive video) inside posts and pages. The flaw is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, i.e. path traversal): a file path supplied during an H5P content/library file operation is not properly sanitized, so traversal sequences (e.g. ../../) escape the intended H5P upload/content directory and reference files elsewhere on the filesystem. Because H5P deliberately grants content-authoring capabilities to lower roles such as Contributor, an account that should only manage interactive content gains the ability to invoke a file-deletion code path against attacker-chosen paths. No specific CPE string was provided in the source data; affected scope is defined by the vendor description as H5P <= 1.17.7.
RemediationAI
Upgrade the H5P plugin to the first release published after 1.17.7 that addresses this issue; a released patched version is not independently confirmed in the provided data, so verify the fixed version against the Patchstack advisory (https://patchstack.com/database/wordpress/plugin/h5p/vulnerability/wordpress-h5p-plugin-1-17-7-arbitrary-file-deletion-vulnerability?_s_id=cve) and the plugin's WordPress.org changelog before deploying. Until a confirmed patch is applied, reduce exposure by restricting who holds Contributor and higher roles: audit and remove untrusted contributor accounts, and disable open user registration or downgrade self-registered users to Subscriber (trade-off: legitimate contributors lose authoring ability). As a compensating control, enforce least-privilege filesystem permissions so the web server user cannot delete core files like wp-config.php or other application files outside the uploads directory (trade-off: may interfere with plugins that legitimately write outside uploads), and deploy a WAF or virtual patch (Patchstack offers one) to block path-traversal payloads in H5P requests. Maintain offline backups so any deletion can be recovered.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39733
GHSA-6pq6-5jrw-hgmm