CVE-2026-17528 Cross-site scripting in nice-select2
An attacker can execute arbitrary scripts in a victim's browser via unsanitized input in the nice-select2 library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-17528?
CVE-2026-17528 is a medium-severity cross-site scripting vulnerability in nice-select2, published on 28 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Versions of the package nice-select2 before 2.4.1 are vulnerable to Cross-site Scripting (XSS) via the <select> element. An attacker can supply a malicious payload that is rendered directly into the DOM without proper sanitization, causing arbitrary script execution in a victim’s browser when they view or interact with the affected page.
Weakness: CWE-79
Which versions are affected by CVE-2026-17528?
How do I fix CVE-2026-17528?
No fix has been published for CVE-2026-17528 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-17528 being exploited?
There is no known exploitation of CVE-2026-17528 in the wild and no public exploit code.
Sources
Also known as GHSA-v2fq-q39g-3748.