CVE-2019-12250 Cross-site scripting in n/a
Stored XSS in IdentityServer4's development test host request logger allows code execution when viewing logs, though maintainers dispute it as a vulnerability.
- 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-2019-12250?
CVE-2019-12250 is a medium-severity cross-site scripting vulnerability in n/a, published on 21 May 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
IdentityServer IdentityServer4 through 2.4 has stored XSS via the httpContext to the host/Extensions/RequestLoggerMiddleware.cs LogForErrorContext method, which can be triggered by viewing a log. NOTE: the software maintainer disputes that this is a vulnerability because the request logger is not part of IdentityServer but only our development test host
Weakness: CWE-79
Which versions are affected by CVE-2019-12250?
It affects 1 product.
Products include Identityserver Identityserver4.
How do I fix CVE-2019-12250?
No fix has been published for CVE-2019-12250 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-2019-12250 being exploited?
There is no known exploitation of CVE-2019-12250 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-jg67-mr48-c26q.