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

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in the victim's browser via a crafted URL in FreeBSD CVSweb, potentially affecting other sites on the same domain.

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-1000998?

CVE-2018-1000998 is a medium-severity cross-site scripting vulnerability in n/a, published on 4 Feb 2019. 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

FreeBSD CVSweb version 2.x contains a Cross Site Scripting (XSS) vulnerability in all pages that can result in limited impact--CVSweb is anonymous & read-only. It might impact other sites on same domain. This attack appears to be exploitable via victim must load specially crafted url. This vulnerability appears to have been fixed in 3.x.

Weakness: CWE-79

Which versions are affected by CVE-2018-1000998?

It affects 1 product.

Products include Freebsd Cvsweb.

How do I fix CVE-2018-1000998?

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-1000998 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-1000998, GHSA-mxq7-h42w-wh9g.

Is CVE-2018-1000998 in your software?

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

Check your SBOMs for free