# CVE-2021-31330: A Cross-Site Scripting (XSS) vulnerability exists within Review Board versions 3.0.20 and 4.0 RC1 and earlier.

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-11T17:34:27.000Z
- Modified: 2026-06-17T03:51:34.047Z
- Also known as: BIT-REVIEWBOARD-2021-31330
- Weaknesses: CWE-79
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- reviewboard review_board: 3.0.20; 4.0
- reviewboard (Bitnami): from 3.0.20 up to 3.0.20; from 4.0-beta1.0 up to 4.0-beta1.0; from 4.0-beta2.0 up to 4.0-beta2.0; from 4.0-rc1.0 up to 4.0-rc1.0

## Every score

- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://mattschmidt.net/2021/04/14/review-board-xss-discovered/> (exploit, third-party-advisory, web)
- <https://www.reviewboard.org/news/2021/04/14/review-board-3-0-21-and-4-0-rc-2-security-bug-fixes-and-docker/> (release-notes, vendor-advisory, web)
- <https://www.reviewboard.org/docs/releasenotes/reviewboard/3.0.21/> (release-notes, vendor-advisory, web)
- <https://www.reviewboard.org/docs/releasenotes/reviewboard/4.0-rc-2/> (release-notes, vendor-advisory, web)

## Sources

- CVE List: [CVE-2021-31330](https://www.cve.org/CVERecord?id=CVE-2021-31330), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31330](https://nvd.nist.gov/vuln/detail/CVE-2021-31330), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-REVIEWBOARD-2021-31330](https://osv.dev/vulnerability/BIT-REVIEWBOARD-2021-31330), Apache-2.0, modified 2024-02-19

---

Page: https://cve.day/CVE-2021-31330 · Whole record: https://cve.day/CVE-2021-31330.json · Rebuilt by cve.day 2026-11-25T22:58:07.490Z
