CVE-2020-1721 Cross-site scripting in pki-core
Reflected XSS in PKI KRA Agent allows attackers to execute JavaScript in authenticated victims' browsers via crafted recovery IDs.
- 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-2020-1721?
CVE-2020-1721 is a medium-severity cross-site scripting vulnerability in pki-core, published on 30 Apr 2021. 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
A flaw was found in the Key Recovery Authority (KRA) Agent Service in pki-core 10.10.5 where it did not properly sanitize the recovery ID during a key recovery request, enabling a reflected cross-site scripting (XSS) vulnerability. An attacker could trick an authenticated victim into executing specially crafted Javascript code.
Weakness: CWE-79
Which versions are affected by CVE-2020-1721?
It affects 1 product.
Products include Dogtagpki Dogtagpki.
How do I fix CVE-2020-1721?
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-2020-1721 being exploited?
There is no known exploitation of CVE-2020-1721 in the wild and no public exploit code.
Other vulnerabilities in pki-core
Sources
Also known as DEBIAN-CVE-2020-1721, GHSA-j9fq-77vj-2ww7, UBUNTU-CVE-2020-1721.