CVE-2016-5834: WordPress

Medium severity, CVSS 6.1. EPSS: 2.1% chance of exploitation in the next 30 days.

Cross-site scripting (XSS) vulnerability in the wp_get_attachment_link function in wp-includes/post-template.php in WordPress before 4.5.3 allows remote attackers to inject arbitrary web script or HTML via a crafted attachment name, a different vulnerability than CVE-2016-5833.

Affected products

  • WordPress WordPress: up to and including 4.5.2

Published 2016-06-29. Last modified 2026-06-17.