Description
wp-includes/general-template.php in WordPress before 4.9.1 does not properly restrict the lang attribute of an HTML element, which might allow attackers to conduct XSS attacks via the language setting of a site.
References (7)
Core 7
Core References
Third Party Advisory vendor-advisory
x_refsource_debian
https://www.debian.org/security/2018/dsa-4090
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2017/12/msg00019.html
Patch, Third Party Advisory x_refsource_misc
https://github.com/WordPress/WordPress/commit/3713ac5ebc90fb2011e98dfd691420f43da6c09a
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/102024
Patch, Release Notes, Vendor Advisory x_refsource_misc
https://codex.wordpress.org/Version_4.9.1
Release Notes, Vendor Advisory x_refsource_misc
https://wordpress.org/news/2017/11/wordpress-4-9-1-security-and-maintenance-release/
Third Party Advisory, VDB Entry x_refsource_misc
https://wpvulndb.com/vulnerabilities/8968
Scores
CVSS v3
5.4
EPSS
0.0628
EPSS Percentile
91.0%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Details
CWE
CWE-79
Status
published
Products (4)
debian/debian_linux
7.0
debian/debian_linux
8.0
debian/debian_linux
9.0
wordpress/wordpress
< 4.9.1
Published
Dec 02, 2017
Tracked Since
Feb 18, 2026