CVE-2022-40711 Cross-site scripting in n/a

Medium 4.8 Published Updated

A stored XSS vulnerability in PrimeKey EJBCA allows RA Administrators to inject scripts targeting higher-privilege users, potentially leading to privilege escalation.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-40711?

CVE-2022-40711 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Jan 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

PrimeKey EJBCA 7.9.0.2 Community allows stored XSS in the End Entity section. A user with the RA Administrator role can inject an XSS payload to target higher-privilege users.

Weakness: CWE-79

Which versions are affected by CVE-2022-40711?

It affects 1 product.

Products include Primekey Ejbca.

How do I fix CVE-2022-40711?

No fix has been published for CVE-2022-40711 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-2022-40711 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40711 exists.

Sources

Also known as GHSA-6p47-w2hq-8j72.

Is CVE-2022-40711 in your software?

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

Check your SBOMs for free