# CVE-2021-1571: Cisco Small Business 220 Series Smart Switches Vulnerabilities

> Attackers can hijack sessions, execute root commands, or perform XSS attacks on Cisco Small Business 220 Series Smart Switches via the web interface.

- **Severity:** High 7.2 (`CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 16 Jun 2021
- **Updated:** 7 Nov 2024
- **Also known as:** GHSA-38cc-hm43-pvfh

## What is CVE-2021-1571?

CVE-2021-1571 is a high-severity cross-site scripting vulnerability in Cisco Small Business 220 Series Smart Plus Switches, published on 16 Jun 2021. An attacker needs administrator access to exploit it, with no action from the victim.

### Official description

Multiple vulnerabilities in the web-based management interface of Cisco Small Business 220 Series Smart Switches could allow an attacker to do the following: Hijack a user session Execute arbitrary commands as a root user on the underlying operating system Conduct a cross-site scripting (XSS) attack Conduct an HTML injection attack For more information about these vulnerabilities, see the Details section of this advisory.

Weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation), CWE-287 (Improper Authentication)

## Which versions are affected by CVE-2021-1571?

It affects 9 products.


Products: Cisco Sf220-24 Firmware, Cisco Sf220-24p Firmware, Cisco Sf220-48 Firmware, Cisco Sf220-48p Firmware, Cisco Sg220-26 Firmware, Cisco Sg220-26p Firmware, Cisco Sg220-28mp Firmware, Cisco Sg220-50 Firmware, Cisco Sg220-50p Firmware.

## How do I fix CVE-2021-1571?

No fix has been published for CVE-2021-1571 yet. Limit exposure of the affected software until one is available.

## Is CVE-2021-1571 being exploited?

There is no known exploitation of CVE-2021-1571 in the wild and no public exploit code.

## Other vulnerabilities in Cisco Small Business 220 Series Smart Plus Switches

- [CVE-2021-1541](https://insights.sbomify.com/CVE-2021-1541/): Cisco Small Business 220 Series Smart Switches Vulnerabilities (high 7.2)
- [CVE-2021-1542](https://insights.sbomify.com/CVE-2021-1542/): Cisco Small Business 220 Series Smart Switches Vulnerabilities (high 7.2)
- [CVE-2021-1543](https://insights.sbomify.com/CVE-2021-1543/): Cisco Small Business 220 Series Smart Switches Vulnerabilities (high 7.2)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2021-1571 and fix it if it is affected.

What it is: CVE-2021-1571 is a high-severity cross-site scripting vulnerability in Cisco Small Business 220 Series Smart Plus Switches, published on 16 Jun 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2021-1571 in the wild and no public exploit code.

Affected product: Cisco Small Business 220 Series Smart Plus Switches. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2021-1571/ (Markdown: https://insights.sbomify.com/CVE-2021-1571/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2021-1571
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2021-1571
- OSV: https://osv.dev/vulnerability/CVE-2021-1571

---
From sbomify Insights: https://insights.sbomify.com/CVE-2021-1571/
Summaries are generated and may contain mistakes; the official description above is the record.
