CVE-2020-15881 MunkiReport munki_facts module Cross-Site Scripting (XSS) vulnerability
Remote attackers can inject arbitrary web script or HTML via the key name in the Munki Conditions module of MunkiReport.
- 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-15881?
CVE-2020-15881 is a medium-severity cross-site scripting vulnerability in n/a, published on 23 Jul 2020. 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 Cross-Site Scripting (XSS) vulnerability in the munki_facts (aka Munki Conditions) module before 1.5 for MunkiReport allows remote attackers to inject arbitrary web script or HTML via the key name.
Weakness: CWE-79
Which versions are affected by CVE-2020-15881?
2 open source packages ship an affected version, including munkireport/munki_facts. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
munkireport/munki_facts Packagist | All versions | 1.5 |
munkireport/munki_facts Packagist | All versions | 1.5 |
Products include Munki Facts Project Munki Facts.
How do I fix CVE-2020-15881?
Upgrade munkireport/munki_facts to 1.5 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-2020-15881 being exploited?
There is no known exploitation of CVE-2020-15881 in the wild and no public exploit code.
Sources
Also known as GHSA-x9q4-5f3c-cw62.