Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-49240 Overview
CVE-2025-49240 is a Missing Authorization vulnerability in the nK DocsPress WordPress plugin. The flaw stems from incorrectly configured access control security levels. It affects all DocsPress plugin versions up to and including 2.5.2.
An authenticated attacker with low privileges can abuse the vulnerability over the network to access functionality that should be restricted. The weakness is tracked under CWE-862: Missing Authorization.
Critical Impact
Low-privileged authenticated users can bypass intended access controls on DocsPress-managed documentation, leading to disclosure of restricted information on affected WordPress sites.
Affected Products
- nK DocsPress WordPress plugin versions n/a through <= 2.5.2
- WordPress sites with DocsPress installed and enabled
- Any multi-user WordPress deployment where contributors or subscribers can authenticate
Discovery Timeline
- 2025-06-06 - CVE-2025-49240 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-49240
Vulnerability Analysis
The vulnerability is a broken access control issue in the DocsPress plugin, which provides documentation functionality for WordPress. DocsPress exposes actions or endpoints without verifying the acting user has the correct capability or role. Any authenticated user with low privileges can invoke those actions.
The attack is remote and requires no user interaction. The impact is limited to confidentiality; integrity and availability are not affected. See the Patchstack Vulnerability Report for additional advisory details.
Root Cause
The root cause is a missing capability check [CWE-862] in one or more DocsPress request handlers. WordPress plugins must call functions such as current_user_can() or verify nonces with check_ajax_referer() on privileged actions. DocsPress through 2.5.2 fails to enforce these checks on at least one access-controlled operation, allowing requests from users below the intended privilege level to succeed.
Attack Vector
An attacker first authenticates to the target WordPress site using any valid low-privileged account, such as a subscriber or contributor. The attacker then issues an HTTP request to the vulnerable DocsPress endpoint. Because the plugin skips the authorization check, the request executes with the attacker's session and returns data that should be restricted. No elevation to administrator is required, and no social engineering of other users is needed.
No public proof-of-concept exploit is listed in the advisory. The EPSS probability at time of publication is approximately 0.3%.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2025-49240
Indicators of Compromise
- Authenticated HTTP requests from subscriber- or contributor-level accounts to DocsPress REST, AJAX, or admin-ajax endpoints such as paths containing docspress, docs, or admin-ajax.php?action=docspress_*.
- Unexpected 200 OK responses to DocsPress actions from accounts that should receive 401 or 403.
- Spikes in document or documentation page retrievals correlated with recently created low-privilege accounts.
Detection Strategies
- Review WordPress and web server access logs for requests to DocsPress endpoints originating from non-editor user sessions.
- Enable a WordPress audit logging plugin to capture authenticated action calls, user roles, and request parameters for the DocsPress plugin.
- Compare the role of the requesting user against the sensitivity of the returned content to identify authorization gaps.
Monitoring Recommendations
- Alert on bulk access to DocsPress-managed documents by a single authenticated session within a short time window.
- Monitor for new user registrations followed quickly by DocsPress endpoint access, which is a common post-registration abuse pattern.
- Forward WordPress and reverse-proxy logs to a central analytics platform and build detections keyed on the docspress action namespace.
How to Mitigate CVE-2025-49240
Immediate Actions Required
- Update the DocsPress plugin to a version released after 2.5.2 that addresses the Patchstack advisory.
- Audit WordPress user accounts and remove or demote any unrecognized low-privileged accounts created recently.
- Disable open user registration (Settings > General > Membership) unless it is required for site operation.
Patch Information
The vendor advisory published via Patchstack identifies all DocsPress versions up to and including 2.5.2 as vulnerable. Administrators should install the latest DocsPress release from the WordPress plugin repository and verify the installed version is higher than 2.5.2. Refer to the Patchstack Vulnerability Report for current fixed version information.
Workarounds
- Deactivate the DocsPress plugin until a patched version can be installed if the documentation feature is not business-critical.
- Restrict access to the WordPress site, including /wp-admin/ and /wp-json/ endpoints, using IP allow-lists or an authenticating reverse proxy.
- Deploy a web application firewall rule that blocks DocsPress AJAX and REST actions when the requesting user's role is below editor.
# Configuration example: temporarily disable the DocsPress plugin via WP-CLI
wp plugin deactivate docspress
wp plugin status docspress
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

