{
  "schema_version": "1.4.0",
  "id": "GHSA-6m4r-cgm3-6q7q",
  "modified": "2021-08-17T22:30:43Z",
  "published": "2019-09-23T18:32:54Z",
  "aliases": [
    "CVE-2019-15478"
  ],
  "summary": "Cross-Site Scripting in status-board",
  "details": "All versions of `status-board` are vulnerable to Cross-Site Scripting. The `renderJsDashboard()` function concatenates the `safeDashboard` variable to the HTTP response message with insufficient sanitization. If this variable is controlled by user input it may allow attackers to execute arbitrary JavaScript in a victim's browser.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.",
  "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-15478"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jameswlane/status-board/pull/949"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jameswlane/status-board/pull/949/files"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-JS-STATUSBOARD-460293"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/1151"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2019-09-19T15:15:56Z",
    "nvd_published_at": null
  }
}