CVE-2021-31330 Cross-site scripting in n/a
An authenticated attacker can inject persistent malicious JavaScript via Markdown editing in Review Board, potentially leading to code execution or account takeover.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-31330?
CVE-2021-31330 is a medium-severity cross-site scripting vulnerability in n/a, published on 11 May 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A Cross-Site Scripting (XSS) vulnerability exists within Review Board versions 3.0.20 and 4.0 RC1 and earlier. An authenticated attacker may inject malicious Javascript code when using Markdown editing within the application which remains persistent.
Weakness: CWE-79
Which versions are affected by CVE-2021-31330?
1 open source package ship an affected version, including reviewboard. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
reviewboard Bitnami | From 3.0.20 to 3.0.20 | None |
Products include Reviewboard Review Board.
How do I fix CVE-2021-31330?
No fix has been published for CVE-2021-31330 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-31330 being exploited?
There is no known exploitation of CVE-2021-31330 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as BIT-reviewboard-2021-31330, GHSA-mhg9-m5gc-hhqw.