CVE-2018-10102: Before WordPress 4.9.5, the version string was not escaped in the get_the_generator function, and could lead to XSS in a generator tag.
Medium CVSS 6.1
- CVE id
- CVE-2018-10102
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| WordPress Runtimes and servers |
< 4.9.5 | 4.9.5 |
How to fix it
Upgrade WordPress to 4.9.5 or later.
wp core version
- Update WordPress core to the patched release (Dashboard > Updates, wp core update, or the wordpress image tag).
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
Before WordPress 4.9.5, the version string was not escaped in the getthegenerator function, and could lead to XSS in a generator tag.
References
- CVE-2018-10102 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2018-10102
- Web: https://codex.wordpress.org/Version_4.9.5
- Web: https://core.trac.wordpress.org/changeset/42893
- Web: https://github.com/WordPress/WordPress/commit/31a4369366d6b8ce30045d4c838de2412c77850d
- Web: https://lists.debian.org/debian-lts-announce/2018/04/msg00031.html
- Web: https://wordpress.org/news/2018/04/wordpress-4-9-5-security-and-maintenance-release/
- Web: https://wpvulndb.com/vulnerabilities/9055
- Web: https://www.debian.org/security/2018/dsa-4193
- Web: https://codex.wordpress.org/Version_4.9.5
- Web: https://core.trac.wordpress.org/changeset/42893
- Web: https://github.com/WordPress/WordPress/commit/31a4369366d6b8ce30045d4c838de2412c77850d
- Web: https://lists.debian.org/debian-lts-announce/2018/04/msg00031.html
- Web: https://wordpress.org/news/2018/04/wordpress-4-9-5-security-and-maintenance-release/
- Web: https://wpvulndb.com/vulnerabilities/9055
- Web: https://www.debian.org/security/2018/dsa-4193
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.