Affected versions
npmstatus-board
- Affected versions
- < 1.1.82
- Fixed version
- 1.1.82
Exploitation
Description
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.
Links
- https://github.com/advisories/GHSA-8864-rhmw-5m6f
- https://github.com/jameswlane/status-board
- https://github.com/jameswlane/status-board/pull/948
- https://github.com/status-board/status-board/commit/19106617865406aa6f8edec036dcb1db427d5f71
- https://nvd.nist.gov/vuln/detail/CVE-2019-15479
- https://snyk.io/vuln/SNYK-JS-STATUSBOARD-460295
Credits
- tdunlap607

