WP Document Revisions <= 5.4.5 - Authenticated (Contributor+) Sensitive Information Exposure via Document List Shortcode, Blocks and get_documents()

Medium 4.3 CWE-863Fixed in 5.4.6
ID
WPSEC-2026-0083
Plugin
WP Document Revisions (wp-document-revisions)
Affected
all versions before 5.4.6
Remediation
Update to 5.4.6 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-863
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-22
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 in versions up to, and including, 5.4.5 due to get_documents() relying on WP_Query's 'perm' => 'readable' (which only restricts private posts) while the [documents] shortcode and the Documents List and Latest Documents blocks let the caller choose the post status. This makes it possible for authenticated attackers with Contributor-level access and above to list the titles, slugs, descriptions and authors of other users' draft, pending, future, private and trashed documents, for example by previewing a post containing the shortcode or through the block renderer REST endpoint. Lists, and the Recently Revised widget, also showed the descriptions and thumbnails of password-protected documents to any visitor. Fixed in 5.4.6 on the 5.4.x branch, and in 5.5.1 and 5.6.1 on the newer branches.

References

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

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

License: CC BY 4.0