CVE-2021-22957 Cross-site request forgery in UniFi Protect application
A CORS misconfiguration allows attackers to hijack privileged user accounts via malicious links, requiring an upgrade to secure the application.
- 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
- None listed
What is CVE-2021-22957?
CVE-2021-22957 is a high-severity vulnerability in UniFi Protect application, published on 24 Nov 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
A Cross-Origin Resource Sharing (CORS) vulnerability found in UniFi Protect application Version 1.19.2 and earlier allows a malicious actor who has convinced a privileged user to access a URL with malicious code to take over said user’s account.This vulnerability is fixed in UniFi Protect application Version 1.20.0 and later.
Weakness: CWE-16
Which versions are affected by CVE-2021-22957?
It affects 1 product.
Products include Ui Unifi Protect.
How do I fix CVE-2021-22957?
No fix has been published for CVE-2021-22957 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-22957 being exploited?
There is no known exploitation of CVE-2021-22957 in the wild and no public exploit code.
Other vulnerabilities in UniFi Protect application
- CVE-2026-55115 Server-side request forgery in UniFi Protect Application
- CVE-2021-22943 A vulnerability found in UniFi Protect application V1.18.1 and earlier permits a malicious actor who has already gained access to a network
- CVE-2026-56841 SQL injection in UniFi Protect Application
- CVE-2026-21633 Auth bypass in UniFi Protect Application
- CVE-2026-54407 Auth bypass in UniFi Protect Application
Sources
Also known as GHSA-r234-gvxh-m2fv.