Critters Cross-site Scripting Vulnerability
Date: 2023-08
Affected: npm/critters
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2023-3481
CWE: CWE-116
CWE-79
CWE-80
CVSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

### Impact Critters version 0.0.17-0.0.19 have an issue when parsing the HTML which leads to a potential [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) bug. ### Patches The bug has been fixed in `v0.0.20`. ### Workarounds Upgrading Critters version to `>0.0.20` is the easiest fix. This is a non breaking version upgrade so we recommend all users to use `v0.0.20`.


Mitigations:

Architectural layers (MAESTRO):