CVE-2016-1899 Cross-site scripting in n/a

Low 3.7 Published Updated

Remote attackers can inject HTTP headers or execute scripts via CRLF sequences in the mimetype parameter of CGit's blob handler.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-1899?

CVE-2016-1899 is a low-severity cross-site scripting vulnerability in Fedoraproject Fedora, published on 20 Jan 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

CRLF injection vulnerability in the ui-blob handler in CGit before 0.12 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks or cross-site scripting (XSS) attacks via CRLF sequences in the mimetype parameter, as demonstrated by a request to blob/cgit.c.

Which versions are affected by CVE-2016-1899?

It affects 2 products.

Products include Cgit Project Cgit, Fedoraproject Fedora.

How do I fix CVE-2016-1899?

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-2016-1899 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-1899, GHSA-53jj-rpcg-6cc6.

Is CVE-2016-1899 in your software?

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

Check your SBOMs for free