MEDIUM6.1
GHSA-8864-rhmw-5m6f
Status Board vulnerable to Cross-Site Scripting before v1.1.82
Quick fix
GHSA-8864-rhmw-5m6f — status-board: upgrade to the fixed version with the command below.
npm install status-board@1.1.82Details
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.
## Recommendation
Upgrade to version 1.1.82 to receive a patch.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-15479[ADVISORY]
- https://github.com/jameswlane/status-board/pull/948[WEB]
- https://github.com/status-board/status-board/commit/19106617865406aa6f8edec036dcb1db427d5f71[WEB]
- https://github.com/jameswlane/status-board[PACKAGE]
- https://snyk.io/vuln/SNYK-JS-STATUSBOARD-460295[WEB]