CVE-2019-10178 Cross-site scripting in pki-core

Medium 4.6 Published Updated

An unauthenticated attacker can execute arbitrary JavaScript in a victim's browser via stored XSS in the Token Processing Service activity page.

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

What is CVE-2019-10178?

CVE-2019-10178 is a medium-severity cross-site scripting vulnerability in The pki-core Project pki-core, published on 18 Mar 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

It was found that the Token Processing Service (TPS) did not properly sanitize the Token IDs from the "Activity" page, enabling a Stored Cross Site Scripting (XSS) vulnerability. An unauthenticated attacker could trick an authenticated victim into creating a specially crafted activity, which would execute arbitrary JavaScript code when viewed in a browser. All versions of pki-core are believed to be vulnerable.

Weakness: CWE-79

Which versions are affected by CVE-2019-10178?

It affects 1 product.

Products include Dogtagpki Dogtagpki.

How do I fix CVE-2019-10178?

Apply the vendor's patch.

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

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

Sources

Also known as DEBIAN-CVE-2019-10178, GHSA-49c6-93gp-7jrp, UBUNTU-CVE-2019-10178.

Is CVE-2019-10178 in your software?

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

Check your SBOMs for free