What’s Vulnerable › Vulnerabilities
CVE-2021-32850: jQuery MiniColors vulnerable to Cross-site Scripting
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-02-20 · updated 2026-06-17
- Weakness: CWE-79
Description
jQuery MiniColors is a color picker built on jQuery. Prior to version 2.3.6, jQuery MiniColors is prone to cross-site scripting when handling untrusted color names. This issue is patched in version 2.3.6.
Affected products
- npm @claviska/jquery-minicolors: before 2.3.6 — fixed in 2.3.6
How to fix
Upgrade to a fixed version: npm @claviska/jquery-minicolors 2.3.6. Check the vendor advisory for mitigations.
References
- https://github.com/claviska/jquery-minicolors/commit/ef134824a7f4110ada53ea6c173111a4fa2f48f3
- https://github.com/claviska/jquery-minicolors/releases/tag/2.3.6
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MC5HV4ESLV2E23YGHNJ542QEZBH6YE2F/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UDXBWA54A7D6HMR2TN5BAYNCU7HO2PUO/
- https://securitylab.github.com/advisories/GHSL-2021-1045_jQuery_MiniColors_Plugin/
- https://github.com/claviska/jquery-minicolors/commit/ef134824a7f4110ada53ea6c173111a4fa2f48f3
- https://github.com/claviska/jquery-minicolors/releases/tag/2.3.6
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MC5HV4ESLV2E23YGHNJ542QEZBH6YE2F/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UDXBWA54A7D6HMR2TN5BAYNCU7HO2PUO/
- https://securitylab.github.com/advisories/GHSL-2021-1045_jQuery_MiniColors_Plugin/
Get alerted when CVE-2021-32850 or the next vulnerability affects your stack