WordPress Core < 5.2.3 - Stored Cross-Site Scripting via Comments via URLs

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2019-16222
CVSS Medium (6.4)
Publicly Published September 5, 2019
Last Updated January 22, 2024
Researcher Soroush Dalili
Description

WordPress before 5.2.3 has an issue with URL sanitization in wp_kses_bad_protocol_once in wp-includes/kses.php that can lead to cross-site scripting (XSS) attacks.

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.29
  • 3.8 - 3.8.29
  • 3.9 - 3.9.27
  • 4.0 - 4.0.26
  • 4.1 - 4.1.26
  • 4.2 - 4.2.23
  • 4.3 - 4.3.19
  • 4.4 - 4.4.18
  • 4.5 - 4.5.17
  • 4.6 - 4.6.13
  • 4.7 - 4.7.13
  • 4.8 - 4.8.9
  • 4.9 - 4.9.10
  • 5.0 - 5.0.5
  • 5.1 - 5.1.1
  • 5.2 - 5.2.2
Patched Version
  • 3.7.30
  • 3.8.30
  • 3.9.28
  • 4.0.27
  • 4.1.27
  • 4.2.24
  • 4.3.20
  • 4.4.19
  • 4.5.18
  • 4.6.15
  • 4.7.14
  • 4.8.10
  • 4.9.11
  • 5.0.6
  • 5.1.2
  • 5.2.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.