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

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts via unencoded redirect URIs in IdentityServer4 authorization responses, 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
None listed

What is CVE-2018-8899?

CVE-2018-8899 is a medium-severity cross-site scripting vulnerability in n/a, published on 22 Mar 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

IdentityServer IdentityServer4 1.x before 1.5.3 and 2.x before 2.1.3 does not encode the redirect URI on the authorization response page, which might lead to XSS in some configurations.

Weakness: CWE-79

Which versions are affected by CVE-2018-8899?

It affects 1 product.

Products include Identityserver Identityserver4.

How do I fix CVE-2018-8899?

No fix has been published for CVE-2018-8899 yet. Limit exposure of the affected software until one is available.

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

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

Sources

Also known as GHSA-mvpr-3vvr-7vqx.

Is CVE-2018-8899 in your software?

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

Check your SBOMs for free