CVE-2021-20729 Cross-site scripting in pfSense CE and pfSense Plus
Remote attackers can inject arbitrary scripts via malicious URLs in pfSense, potentially compromising user sessions or executing code.
- 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-20729?
CVE-2021-20729 is a medium-severity cross-site scripting vulnerability in pfSense CE and pfSense Plus, published on 31 Mar 2022. 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
Cross-site scripting vulnerability in pfSense CE and pfSense Plus (pfSense CE software versions 2.5.2 and earlier, and pfSense Plus software versions 21.05 and earlier) allows a remote attacker to inject an arbitrary script via a malicious URL.
Weakness: CWE-79
Which versions are affected by CVE-2021-20729?
It affects 2 products.
Products include Netgate Pfsense Plus, Pfsense Pfsense.
How do I fix CVE-2021-20729?
No fix has been published for CVE-2021-20729 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-20729 being exploited?
There is no known exploitation of CVE-2021-20729 in the wild and no public exploit code.
Other vulnerabilities in pfSense CE and pfSense Plus
Sources
Also known as GHSA-gmq9-rc2w-2c75.