CVE-2021-25984 FactorJS - Stored Cross-Site Scripting (XSS) in Post Reply Functionality
An unauthenticated attacker can inject malicious scripts into forum replies to steal user session cookies in the FactorJS headless CMS.
- 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-25984?
CVE-2021-25984 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 v1.3.3 to v1.8.30, are vulnerable to stored Cross-Site Scripting (XSS) at the “post reply” section. An unauthenticated attacker can execute malicious JavaScript code and steal the session cookies.
Weakness: CWE-79
Which versions are affected by CVE-2021-25984?
It affects 1 product.
Products include Darwin Factor.
How do I fix CVE-2021-25984?
No fix has been published for CVE-2021-25984 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-25984 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-25984 exists.
Other vulnerabilities in FactorJS Factor
Sources
Also known as GHSA-fjhf-p3hr-pvv7.