Products
Slim Select
- 2.0 - 2.9.0
Source
disclosure@vulncheck.com
Tags
CVE-2024-9440 details
Published : Oct. 2, 2024, 7:15 p.m.
Last Modified : Oct. 2, 2024, 7:15 p.m.
Last Modified : Oct. 2, 2024, 7:15 p.m.
Description
Slim Select 2.0 versions through 2.9.0 are affected by a potential cross-site scripting vulnerability. In select.ts:createOption(), the text variable from the user-provided Options object is assigned to an innerHTML without sanitation. Software that depends on this library to dynamically generate lists using unsanitized user-provided input may be vulnerable to cross-site scripting, resulting in attacker executed JavaScript. At this time, no patch is available.
CVSS Score
1 | 2 | 3 | 4 | 5.4 | 6 | 7 | 8 | 9 | 10 |
---|
Weakness
Weakness | Name | Description |
---|---|---|
CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
CVSS Data
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
Base Score
5.4
Exploitability Score
2.8
Impact Score
2.5
Base Severity
MEDIUM
Vector String : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
References
URL | Source |
---|---|
https://github.com/brianvoe/slim-select/blob/e7e37e2ff90e125f846bd98d6b8f278524ead79e/src/slim-select/select.ts#L377 | disclosure@vulncheck.com |
https://github.com/brianvoe/slim-select/issues/564 | disclosure@vulncheck.com |
https://vulncheck.com/advisories/slim-select-xss | disclosure@vulncheck.com |
This website uses the NVD API, but is not approved or certified by it.