{
  "schema_version": "1.4.0",
  "id": "GHSA-8864-rhmw-5m6f",
  "modified": "2022-08-03T15:33:55Z",
  "published": "2019-09-23T18:32:42Z",
  "aliases": [
    "CVE-2019-15479"
  ],
  "summary": "Status Board vulnerable to Cross-Site Scripting before v1.1.82",
  "details": "Versions of `status-board` prior to 1.1.82 are vulnerable to Cross-Site Scripting. The `renderDashboard()` function concatenates the `safeDashboard` variable to the printed error message with insufficient sanitization. If this variable is controlled by user input it allows attackers to execute arbitrary JavaScript in a victim's browser.\n\n\n## Recommendation\n\nUpgrade to version 1.1.82 to receive a patch.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "status-board"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.82"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-15479"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jameswlane/status-board/pull/948"
    },
    {
      "type": "WEB",
      "url": "https://github.com/status-board/status-board/commit/19106617865406aa6f8edec036dcb1db427d5f71"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/jameswlane/status-board"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-JS-STATUSBOARD-460295"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2019-09-19T15:16:08Z",
    "nvd_published_at": null
  }
}