WP Document Revisions <= 5.8.5 - Unauthenticated Sensitive Information Exposure via Direct Document File Access

Low 3.7 CWE-284Fixed in 5.8.6
ID
WPSEC-2026-4431
Plugin
WP Document Revisions (wp-document-revisions)
Affected
from 3.6.0 before 5.8.6
Remediation
Update to 5.8.6 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-284
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-03
Attack surface
WP Document Revisions on WPSec AttackSurface
Fix released
Published

Description

The WP Document Revisions plugin for WordPress is vulnerable to Sensitive Information Exposure via direct document file access in all versions up to, and including, 5.8.5, due to an incorrectly built .htaccess deny rule for the opt-in 'document_stop_file_access_pattern' filter. The rule pattern started with a slash and the home path, which Apache never sees in .htaccess context, so the rule did not match document file requests and did not block them (in 3.6.x the rule was not written at all on sites installed in a subdirectory). This makes it possible for unauthenticated attackers who know or obtain a document file's hashed stored name to download private document files directly. Only Apache sites that turned on the file access block with the 'document_stop_file_access_pattern' filter are affected. The block is off by default.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0