CVE-2021-20877 Cross-site scripting in Canon laser printers and small office multifunctional printers
Remote attackers can inject arbitrary scripts into Canon laser printers and multifunctional devices, potentially compromising user sessions or device integrity.
- 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-2021-20877?
CVE-2021-20877 is a medium-severity cross-site scripting vulnerability in Canon laser printers and small office multifunctional printers, published on 8 Feb 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Cross-site scripting vulnerability in Canon laser printers and small office multifunctional printers (LBP162L/LBP162, MF4890dw, MF269dw/MF265dw/MF264dw/MF262dw, MF249dw/MF245dw/MF244dw/MF242dw/MF232w, and MF229dw/MF224dw/MF222dw sold in Japan, imageCLASS MF Series (MF113W/MF212W/MF217W/MF227DW/MF229DW, MF232W/MF244DW/MF247DW/MF249DW, MF264DW/MF267DW/MF269DW/MF269DW VP, and MF4570DN/MF4570DW/MF4770N/MF4880DW/MF4890DW) and imageCLASS LBP Series (LBP113W/LBP151DW/LBP162DW ) sold in the US, and iSENSYS (LBP162DW, LBP113W, LBP151DW, MF269dw, MF267dw, MF264dw, MF113w, MF249dw, MF247dw, MF244dw, MF237w, MF232w, MF229dw, MF217w, MF212w, MF4780w, and MF4890dw) and imageRUNNER (2206IF, 2204N, and 2204F) sold in Europe) allows remote attackers to inject an arbitrary script via unspecified vectors.
Weakness: CWE-79
Which versions are affected by CVE-2021-20877?
It affects 34 products.
Products include Canon 2204f, Canon 2204n, Canon 2206if, Canon Lbp113w, Canon Lbp151dw, Canon Lbp162 and 28 more.
How do I fix CVE-2021-20877?
No fix has been published for CVE-2021-20877 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-2021-20877 being exploited?
There is no known exploitation of CVE-2021-20877 in the wild and no public exploit code.
Sources
Also known as GHSA-8g3c-f2w7-r54q.