CVE-2018-10102 Cross-site scripting in n/a

Medium 6.1 Published Updated

An attacker can inject malicious scripts into the WordPress generator tag due to unescaped version strings, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-10102?

CVE-2018-10102 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 14 Apr 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2018-10102?

It affects 2 products.

Products include Debian Debian Linux, Wordpress Wordpress.

How do I fix CVE-2018-10102?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2018-10102 being exploited?

There is no known exploitation of CVE-2018-10102 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-10102, GHSA-pv54-xqw9-86jh, UBUNTU-CVE-2018-10102.

Is CVE-2018-10102 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free