# Download Attachments <= 1.4.1 - Authenticated (Contributor+) Sensitive Information Exposure via 'download-attachments' Shortcode

- **ID:** WPSEC-2026-4148
- **Plugin:** Download Attachments (`download-attachments`), https://wordpress.org/plugins/download-attachments/
- **Affected versions:** from 1.2.3 before 1.4.2
- **Fixed in:** 1.4.2 (Update to 1.4.2 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/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-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/download-attachments
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4148/

## Description

The Download Attachments plugin for WordPress is vulnerable to Sensitive Information Exposure via the 'post_id' attribute of the 'download-attachments' shortcode in all versions up to, and including, 1.4.1. This is due to the plugin checking only whether the target post is password-protected before listing its attachments, without checking whether that post is private, a draft or otherwise not viewable by the current user. This makes it possible for authenticated attackers, with Contributor-level access and above, to view the titles, captions, descriptions, file types and sizes of files attached to private and draft posts they cannot read.

## References

- https://wpsec.com/vuln/WPSEC-2026-4148/
- https://plugins.svn.wordpress.org/download-attachments/tags/1.4.2/
- https://wordpress.org/plugins/download-attachments/

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

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.
