WP Document Revisions <= 5.4.5 - Authenticated (Contributor+) Missing Authorization to Revision History Disclosure via document_revisions Shortcode and Block
- ID
- WPSEC-2026-0081
- 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-862
- 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 unauthorized access of data in versions up to, and including, 5.4.5 due to the [document_revisions] shortcode and the Document Revisions block checking only the generic read_document_revisions capability, not whether the user can read the requested document or whether it is password protected. This makes it possible for authenticated attackers with Contributor-level access and above to obtain the title, revision dates, revision links and revision authors of other users' private, draft and password-protected documents by ID. File contents are not exposed. 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
- https://wpsec.com/vuln/WPSEC-2026-0081/
- https://plugins.svn.wordpress.org/wp-document-revisions/tags/5.4.6/
- https://wordpress.org/plugins/wp-document-revisions/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS