CVE-2020-11082 Cross-Site Scripting in Kaminari
An attacker can inject arbitrary code into pages with pagination links in the Kaminari Ruby library, 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-2020-11082?
CVE-2020-11082 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 28 May 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
In Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1.
Weakness: CWE-79
Which versions are affected by CVE-2020-11082?
2 open source packages ship an affected version, including kaminari. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
kaminari RubyGems | All versions | 1.2.1 |
kaminari RubyGems | All versions | 1.2.1 |
Products include Debian Debian Linux, Kaminari Project Kaminari.
How do I fix CVE-2020-11082?
Upgrade kaminari to 1.2.1 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-11082 being exploited?
There is no known exploitation of CVE-2020-11082 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2020-11082, DLA-2763-1, DSA-5005-1, GHSA-r5jw-62xg-j433, UBUNTU-CVE-2020-11082.