{
  "schema_version": "1.4.0",
  "id": "GHSA-mhg9-m5gc-hhqw",
  "modified": "2022-05-21T00:00:56Z",
  "published": "2022-05-12T00:00:36Z",
  "aliases": [
    "CVE-2021-31330"
  ],
  "details": "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.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
    }
  ],
  "affected": [],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-31330"
    },
    {
      "type": "WEB",
      "url": "https://mattschmidt.net/2021/04/14/review-board-xss-discovered"
    },
    {
      "type": "WEB",
      "url": "https://www.reviewboard.org/docs/releasenotes/reviewboard/3.0.21"
    },
    {
      "type": "WEB",
      "url": "https://www.reviewboard.org/docs/releasenotes/reviewboard/4.0-rc-2"
    },
    {
      "type": "WEB",
      "url": "https://www.reviewboard.org/news/2021/04/14/review-board-3-0-21-and-4-0-rc-2-security-bug-fixes-and-docker"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2022-05-11T18:15:00Z"
  }
}