PT-2025-23065 · WordPress · Wp Attachments

M3Ssap0

·

Published

2025-05-28

·

Updated

2025-05-28

·

CVE-2025-5082

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions WP Attachments plugin for WordPress versions up to, and including, 5.0.12
Description The issue is related to Reflected Cross-Site Scripting, which allows unauthenticated attackers to inject arbitrary web scripts in pages. This is possible due to insufficient input sanitization and output escaping of the attachment id parameter. Attackers can exploit this by tricking a user into performing an action, such as clicking on a link.
Recommendations For versions up to, and including, 5.0.12, update to a version later than 5.0.12 to resolve the issue. As a temporary workaround, consider restricting access to the attachment id parameter to minimize the risk of exploitation.

Fix

XSS

Weakness Enumeration

Related Identifiers

CVE-2025-5082

Affected Products

Wp Attachments