CVE-2024-12635
WP Docs <= 2.2.0 - Authenticated (Subscriber+) Time-Based SQL Injection via 'dir_id'
CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th
The WP Docs plugin for WordPress is vulnerable to time-based SQL Injection via the 'dir_id' parameter in all versions up to, and including, 2.2.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The vulnerability was partially patched in version 2.2.0.
| CWE | CWE-89 |
| Vendor | fahadmahmood |
| Product | wp docs |
| Published | Dec 21, 2024 |
| Last Updated | Apr 8, 2026 |
Stay Ahead of the Next One
Get instant alerts for fahadmahmood wp docs
Be the first to know when new medium vulnerabilities affecting fahadmahmood wp docs are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
fahadmahmood / WP Docs
0 โค 2.2.0
References
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/5cbbfe66-09fe-48c9-9af1-0b7b90ac222a?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/wp-docs/tags/2.1.8/inc/functions.php#L1963 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3210656/ plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3210644/
Credits
Arkadiusz Hydzik