WordPress Core < 4.5.3 - Cross-Site Scripting via Attachment Name

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2016-5834
CVSS Medium (6.4)
Publicly Published June 18, 2016
Last Updated January 22, 2024
Researcher Divyesh Prajapati, Jouko Pynnöne
Description

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.

References

1 affected software package

Software Type Core
Software Slug wordpress (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 3.7
  • 3.7 - 3.7.14
  • 3.8 - 3.8.14
  • 3.9 - 3.9.12
  • 4.0 - 4.0.11
  • 4.1 - 4.1.11
  • 4.2 - 4.2.8
  • 4.3 - 4.3.4
  • 4.4 - 4.4.3
  • 4.5 - 4.5.2
Patched Version
  • 3.7.15
  • 3.8.15
  • 3.9.13
  • 4.0.12
  • 4.1.12
  • 4.2.9
  • 4.3.5
  • 4.4.4
  • 4.5.3
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.