# 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`), https://wordpress.org/plugins/press-permit-core/
- **Affected versions:** from 4.9.1 before 5.0.3
- **Fixed in:** 5.0.3 (Update to 5.0.3 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-200
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-25)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/press-permit-core
- **Fix released:** 2026-11-25
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3953/

## 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/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3953/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
