PublishPress Permissions: Access Control, Content Permissions, User Access <= 5.0.2 - Unauthenticated Sensitive Information Exposure via REST API Media Endpoint
- ID
- WPSEC-2026-3953
- Plugin
- PublishPress Permissions: Access Control, Content Permissions, User Access (press-permit-core)
- Affected
- from 4.9.1 before 5.0.3
- Remediation
- Update to 5.0.3 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weakness
- CWE-200
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-25
- Attack surface
- PublishPress Permissions: Access Control, Content Permissions, User Access on WPSec AttackSurface
- Fix released
- Published
Description
The PublishPress Permissions plugin for WordPress is vulnerable to Sensitive Information Exposure via the REST API media collection endpoint (/wp/v2/media) in versions 4.9.1 up to, and including, 5.0.2. This is due to the rest_attachment_query filter only setting query variables that the plugin's post filtering ignores when Media is not a filtered post type (the default), so attachments are not checked against the read permissions of the posts they are attached to. This makes it possible for unauthenticated attackers to list media (file URLs, titles, captions and metadata) attached to published posts and pages whose reading the plugin restricts.
References
- https://wpsec.com/vuln/WPSEC-2026-3953/
- https://plugins.svn.wordpress.org/press-permit-core/tags/5.0.3/
- https://wordpress.org/plugins/press-permit-core/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS