CVE-2026-17528

Published Jul 28, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability arises because nice‑select2 renders options supplied through the <select> element directly into the DOM without sanitization. An attacker can inject malicious JavaScript that is executed when a user visits or interacts with a page that uses the affected component. This client‑side code execution can lead to data theft, session hijacking, defacement, or further attacks such as credential phishing or malware delivery, thereby compromising the confidentiality, integrity, and availability of the affected web application.

Affected Systems

The flaw exists in the open‑source JavaScript library nice‑select2, affecting all releases prior to version 2.4.1. Any web application that incorporates this library and populates the select component with user‑controlled or untrusted data is susceptible.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity flaw. The EPSS score of less than 1% suggests the probability of exploitation is low at this time, and the issue is not listed in the CISA KEV catalog. Exploitation requires an attacker to supply data that is rendered by the component, which typically means the vulnerability is exploitable in the context of a user interacting with a vulnerable page rather than from a remote network vector. Nevertheless, because the attack triggers client‑side code, the outcome can be severe if the user is running privileged or sensitive sessions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade nice‑select2 to version 2.4.1 or later, which removes the unsanitized rendering path.
  • Validate and escape any data that is used to generate option elements so that text content cannot contain executable scripts.
  • Deploy a Content Security Policy that restricts inline script execution and limits the sources of executable code.

Generated by OpenCVE AI on August 4, 2026 at 13:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Cross‑Site Scripting via Unsanitized <select> Rendering in nice‑select2
Type Values Removed Values Added
First Time appeared Bluzky
Bluzky nice-select2
Vendors & Products Bluzky
Bluzky nice-select2
Type Values Removed Values Added
Title Cross‑Site Scripting via Unsanitized <select> Rendering in nice‑select2
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Jul 28, 2026, 4:05 PM
Reserved
Jul 27, 2026, 8:44 AM
Status
Deferred
Published
Jul 28, 2026, 6:16 AM
Modified
Jul 30, 2026, 8:11 PM