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-2026-92548 Overview
The WP Popular Posts plugin for WordPress contains a sensitive information exposure flaw affecting all versions up to and including 7.4.2. The vulnerability resides in the REST API context parameter handling within the plugin's posts endpoint. Unauthenticated attackers can extract edit-context fields from non-public post objects, including raw title, raw content body, password, meta, status, and guid values. This exposure reaches synced patterns stored as wp_block post types that WordPress core explicitly refuses to serve to unauthenticated callers. The weakness is categorized under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Critical Impact
Unauthenticated remote attackers can retrieve private post content, draft material, passwords, and metadata from non-public WordPress post types through a single crafted REST request.
Affected Products
- WP Popular Posts plugin for WordPress, versions up to and including 7.4.2
- WordPress sites exposing the plugin's /wp-json REST routes to the public internet
- Any site relying on wp_block synced patterns, private posts, or drafts for content staging
Discovery Timeline
- 2026-10-01 - CVE-2026-92548 published to NVD
- 2026-10-03 - Last updated in NVD database
Technical Details for CVE-2026-92548
Vulnerability Analysis
The WP Popular Posts plugin registers a REST route in src/Rest/PostsEndpoint.php with a permission_callback set to __return_true. This design permits any unauthenticated client to invoke the endpoint. The handler then forwards the caller-supplied context parameter directly into WP_REST_Posts_Controller::prepare_item_for_response().
Supplying context=edit causes the controller to serialize edit-context fields that WordPress reserves for authenticated editors. These fields include the raw post title, raw content body, password, meta, status, and guid. The response therefore reveals information WordPress core would otherwise suppress for anonymous callers.
Root Cause
Two defects combine to produce the exposure. First, the plugin omits calls to get_item_permissions_check() and check_read_permission() before preparing responses. Second, the underlying query in src/Query.php accepts an arbitrary post_type value without enforcing the public or show_in_rest visibility flags. Together these omissions bypass the capability checks that normally gate edit-context responses.
Attack Vector
An unauthenticated attacker issues an HTTP GET request to the plugin's REST route, supplying context=edit and a non-public post_type such as wp_block. The plugin returns full edit-context representations of matching post objects. No credentials, user interaction, or elevated privileges are required. The attack is executed over the network against any exposed WordPress site running a vulnerable plugin version.
The vulnerability manifests in the REST route registration and query construction. See the Wordfence Vulnerability Report and the WordPress Plugin Source Code for PostsEndpoint.php for the specific lines involved.
Detection Methods for CVE-2026-92548
Indicators of Compromise
- Inbound HTTP requests to WP Popular Posts REST endpoints containing the query parameter context=edit
- REST calls specifying post_type=wp_block, post_type=revision, or other non-public types against the plugin route
- Anonymous REST responses whose payloads contain password, guid, or raw content fields
- Repeated enumeration patterns iterating post identifiers against the plugin's endpoint from a single source address
Detection Strategies
- Inspect web server access logs for GET requests to /wp-json/wordpress-popular-posts/* carrying a context query parameter
- Deploy WAF rules that flag unauthenticated REST traffic requesting context=edit or non-public post_type values
- Correlate anonymous REST responses larger than typical popular-post listings, which indicates edit-context field inclusion
Monitoring Recommendations
- Enable WordPress REST API request logging and forward events to a central analytics platform
- Alert on access to synced pattern (wp_block) content from external IP addresses lacking an authenticated session cookie
- Review installed plugin inventories and track versions against the fixed release threshold
How to Mitigate CVE-2026-92548
Immediate Actions Required
- Update WP Popular Posts to a version later than 7.4.2 as published in WordPress Changeset 3715724
- Audit wp_block synced patterns, drafts, and password-protected posts for sensitive content that may have been exposed
- Rotate any secrets, API keys, or credentials stored in post content, metadata, or password fields
Patch Information
The maintainers corrected the REST endpoint in the patched PostsEndpoint.php. The fix restricts the accepted context parameter and enforces visibility checks on the queried post_type. Administrators should install the updated release through the WordPress plugin manager or deploy it via automated patch management.
Workarounds
- Block unauthenticated requests to the plugin's REST route at the WAF or reverse proxy until patching completes
- Restrict access to /wp-json/ endpoints from untrusted networks using IP allowlists where feasible
- Temporarily deactivate the WP Popular Posts plugin if an immediate update cannot be applied
# Example WAF rule to block context=edit requests to the vulnerable endpoint
SecRule REQUEST_URI "@contains /wp-json/wordpress-popular-posts" \
"chain,id:1092548,phase:1,deny,status:403,log,msg:'CVE-2026-92548 block context=edit'"
SecRule ARGS:context "@streq edit" "t:lowercase"
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

