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-74922 Overview
CVE-2026-74922 affects the Document Gallery WordPress plugin through version 5.1.1. The plugin fails to verify webhook signatures on one of its unauthenticated endpoints when no shared secret has been configured. Shared secret absence is the default plugin state. Unauthenticated attackers can replace the thumbnail image the site publishes for any document. The weakness is classified as insufficient verification of data authenticity [CWE-345].
Critical Impact
Unauthenticated remote attackers can modify document thumbnails on affected WordPress sites running Document Gallery through 5.1.1 in its default configuration, enabling content tampering and potential site defacement.
Affected Products
- Document Gallery WordPress plugin, versions through 5.1.1
- WordPress installations running Document Gallery with default configuration (no shared secret set)
- Any site exposing the plugin's unauthenticated webhook endpoint to the internet
Discovery Timeline
- 2026-10-19 - CVE-2026-74922 published to the National Vulnerability Database
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-74922
Vulnerability Analysis
The Document Gallery plugin exposes a webhook endpoint intended for inbound notifications about document assets. The endpoint accepts requests without authentication and relies on a signature check tied to a shared secret. When the administrator has not configured a shared secret, the plugin skips the signature verification entirely rather than rejecting the request. Attackers can therefore submit crafted webhook payloads that overwrite the thumbnail image associated with any document the site publishes.
The practical impact is limited to integrity of thumbnail metadata. There is no exposure of document contents and no interruption of availability. Attackers can use this behavior for defacement, misinformation, or planting misleading preview images that drive social engineering against site visitors.
Root Cause
The root cause is a logic flaw in the signature-verification path. The handler treats a missing shared secret as an acceptable condition rather than a hard failure. A secure design should refuse to process any unauthenticated webhook if the integrity-verification material is not configured. This behavior aligns with [CWE-345: Insufficient Verification of Data Authenticity].
Attack Vector
Exploitation requires only network access to the WordPress site. An attacker sends an HTTP request to the vulnerable webhook endpoint containing a payload that references the target document identifier and a new thumbnail resource. Because the server neither authenticates the caller nor validates a signature, the plugin accepts the request and updates the stored thumbnail. No user interaction, credentials, or elevated privileges are required.
See the WPScan Vulnerability Report for additional technical detail.
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-2026-74922
Indicators of Compromise
- Unexpected changes to document thumbnail URLs or image hashes within the Document Gallery media library
- HTTP POST requests to the plugin's webhook endpoint from unfamiliar IP addresses or user agents
- WordPress audit log entries showing thumbnail updates with no corresponding administrator action
- Externally hosted thumbnail images referencing domains not controlled by the site operator
Detection Strategies
- Review web server access logs for requests to the Document Gallery webhook route that lack a valid signature header
- Compare current thumbnail checksums against a known-good baseline captured after patch deployment
- Alert on repeated or scripted POST traffic to plugin endpoints originating from a single source
Monitoring Recommendations
- Enable WordPress activity logging and forward events to a centralized log platform for correlation
- Monitor outbound requests from the WordPress host that fetch new thumbnail images from unverified domains
- Track plugin configuration state and flag installations where the Document Gallery shared secret remains unset
How to Mitigate CVE-2026-74922
Immediate Actions Required
- Configure a strong, randomly generated shared secret in the Document Gallery plugin settings to force signature verification
- Restrict access to the plugin's webhook endpoint using web server rules or a web application firewall until a patch is applied
- Audit existing document thumbnails against a trusted baseline and restore any that were altered without authorization
Patch Information
As of the NVD publication on 2026-10-19, the advisory references Document Gallery versions through 5.1.1 as affected. Review the WPScan Vulnerability Report for the latest fixed-version information and upgrade to a release that enforces webhook signature verification regardless of configuration state.
Workarounds
- Set a non-empty shared secret in the plugin configuration so the signature check path executes
- Block external access to the Document Gallery webhook URL at the reverse proxy or WAF layer
- Disable or remove the Document Gallery plugin on sites that do not rely on its webhook functionality
# Example WAF rule: block unauthenticated webhook POSTs lacking a signature header
# (adjust the URI path to match the Document Gallery webhook route in your deployment)
SecRule REQUEST_METHOD "@streq POST" \
"id:1074922,phase:1,deny,status:403,\
chain,msg:'Block Document Gallery webhook without signature'"
SecRule REQUEST_URI "@contains /wp-json/document-gallery/" \
"chain"
SecRule &REQUEST_HEADERS:X-Signature "@eq 0"
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

