CVE-2021-27940 openark/orchestrator cross-site scripting vulnerability
Cross-site scripting vulnerability in Orchestrator allows attackers to inject malicious scripts via the orchestrator-msg parameter, 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
- Available
What is CVE-2021-27940?
CVE-2021-27940 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Mar 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
resources/public/js/orchestrator.js in openark orchestrator before 3.2.4 allows XSS via the orchestrator-msg parameter.
Weakness: CWE-79
Which versions are affected by CVE-2021-27940?
2 open source packages ship an affected version, including github.com/openark/orchestrator. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/openark/orchestrator Go | All versions | 3.2.4 |
github.com/openark/orchestrator Go | All versions | 3.2.4 |
Products include Openark Orchestrator.
How do I fix CVE-2021-27940?
Upgrade github.com/openark/orchestrator to 3.2.4 or later.
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-2021-27940 being exploited?
There is no known exploitation of CVE-2021-27940 in the wild and no public exploit code.
Sources
Also known as GHSA-752c-vfpf-cp2w.