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.
Problem type
Affected products
< 2.4.1 - AFFECTED
References
https://security.snyk.io/vuln/SNYK-JS-NICESELECT2-13638683
https://github.com/bluzky/nice-select2/commit/ea23ff404e186f6e2a64a25c530f93165fd2ad26
https://github.com/bluzky/nice-select2/issues/97
GitHub Security Advisories
GHSA-v2fq-q39g-3748
Versions of the package nice-select2 before 2.4.1 are vulnerable to Cross-site Scripting (XSS)...
https://github.com/advisories/GHSA-v2fq-q39g-3748Versions of the package nice-select2 before 2.4.1 are vulnerable to Cross-site Scripting (XSS) via the 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.
https://nvd.nist.gov/vuln/detail/CVE-2026-17528
https://github.com/bluzky/nice-select2/issues/97
https://github.com/bluzky/nice-select2/commit/ea23ff404e186f6e2a64a25c530f93165fd2ad26
https://security.snyk.io/vuln/SNYK-JS-NICESELECT2-13638683
https://github.com/advisories/GHSA-v2fq-q39g-3748
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-17528Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-17528",
"assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
"assignerShortName": "snyk",
"dateUpdated": "2026-07-28T05:00:01.620Z",
"dateReserved": "2026-07-27T08:44:16.847Z",
"datePublished": "2026-07-28T05:00:01.620Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
"shortName": "snyk",
"dateUpdated": "2026-07-28T05:00:01.620Z"
},
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"vendor": "n/a",
"product": "nice-select2",
"versions": [
{
"version": "0",
"status": "affected",
"versionType": "semver",
"lessThan": "2.4.1"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Cross-site Scripting (XSS)",
"cweId": "CWE-79"
}
]
}
],
"references": [
{
"url": "https://security.snyk.io/vuln/SNYK-JS-NICESELECT2-13638683"
},
{
"url": "https://github.com/bluzky/nice-select2/commit/ea23ff404e186f6e2a64a25c530f93165fd2ad26"
},
{
"url": "https://github.com/bluzky/nice-select2/issues/97"
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"exploitCodeMaturity": "NOT_DEFINED"
}
}
],
"credits": [
{
"lang": "en",
"value": "Oleg Chuiev"
}
]
}
}
}