CVE-2021-25982 FactorJS - Reflected Cross-Site Scripting (XSS) in Search Functionality
An unauthenticated attacker can execute malicious JavaScript via the search parameter to steal session cookies in the FactorJS forum plugin.
- 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-25982?
CVE-2021-25982 is a medium-severity cross-site scripting vulnerability in FactorJS Factor, published on 16 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
In Factor (App Framework & Headless CMS) forum plugin, versions 1.3.5 to 1.8.30, are vulnerable to reflected Cross-Site Scripting (XSS) at the “search” parameter in the URL. An unauthenticated attacker can execute malicious JavaScript code and steal the session cookies.
Weakness: CWE-79
Which versions are affected by CVE-2021-25982?
It affects 1 product.
Products include Darwin Factor.
How do I fix CVE-2021-25982?
No fix has been published for CVE-2021-25982 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-25982 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-25982 exists.
Other vulnerabilities in FactorJS Factor
Sources
Also known as GHSA-fxff-28gh-86mj.