Description
The htmlspecialchars function in PHP before 5.2.12 does not properly handle (1) overlong UTF-8 sequences, (2) invalid Shift_JIS sequences, and (3) invalid EUC-JP sequences, which allows remote attackers to conduct cross-site scripting (XSS) attacks by placing a crafted byte sequence before a special character.
Remediation
References
Related Vulnerabilities
Oracle Database Server CVE-2014-4237 Vulnerability (CVE-2014-4237)
WordPress Plugin MAC PHOTO GALLERY 'upload-file.php' Arbitrary File Upload (2.7)
Drupal Cross-Site Request Forgery (CSRF) Vulnerability (CVE-2008-3743)
WordPress Plugin Child Theme Configurator Arbitrary File Disclosure (1.7.4)
Jenkins Improper Authentication Vulnerability (CVE-2017-2604)