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

Medium 4.3 CWE-200Fixed in 1.4.2
ID
WPSEC-2026-4148
Plugin
Download Attachments (download-attachments)
Affected
from 1.2.3 before 1.4.2
Remediation
Update to 1.4.2 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-200
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-27
Attack surface
Download Attachments on WPSec AttackSurface
Fix released
Published

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

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

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

License: CC BY 4.0