googlechromelabs/critters · Security
Critters Cross-site Scripting Vulnerability
- GHSA ID
- GHSA-cx3j-qqxj-9597
- CVE ID
- CVE-2023-3481
- Severity
- medium
- Published
- Updated
- CVSS
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Description
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) 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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-80 · Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
- CWE-116 · Improper Encoding or Escaping of Output
References
- https://github.com/GoogleChromeLabs/critters/security/advisories/GHSA-cx3j-qqxj-9597 ↗
- https://github.com/GoogleChromeLabs/critters/pull/133 ↗
- https://github.com/GoogleChromeLabs/critters/commit/7757902c9e0b3285d516359b3cb602cd9d50d80e ↗
- https://nvd.nist.gov/vuln/detail/CVE-2023-3481 ↗
- https://github.com/advisories/GHSA-cx3j-qqxj-9597 ↗