CVE-2019-15482: Cross-Site Scripting in selectize-plugin-a11y
Summary
CVE-2019-15482: Cross-Site Scripting in selectize-plugin-a11y. Affects selectize-plugin-a11y versions < 1.1.0. Fixed in 1.1.0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The selectize-plugin-a11y package is an npm package that provides accessibility enhancements for the Selectize.js library. It aims to improve the accessibility of select dropdowns by adding keyboard navigation and screen reader support. However, versions prior to 1.1.0 are vulnerable to Cross-Site Scripting (XSS) attacks.
Vulnerability Detail
The vulnerability in selectize-plugin-a11y arises from the accessibility.liveRegion.speak function, which fails to properly sanitize user-controlled input before rendering it as HTML. This allows an attacker to inject arbitrary JavaScript code into a victim's browser. If successfully exploited, this vulnerability can lead to unauthorized access, data theft, or the execution of malicious actions on behalf of the victim.
How To Fix
Minimum fixed version
1.1.0
This is the first release that contains the fix.
npm install selectize-plugin-a11y@1.1.0
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Conclusion
The selectize-plugin-a11y package prior to version 1.1.0 is vulnerable to Cross-Site Scripting (XSS) attacks. It is crucial to upgrade to version 1.1.0 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for selectize-plugin-a11y →
FAQ
selectize-plugin-a11y is an npm package that enhances the accessibility of select dropdowns by adding keyboard navigation and screen reader support.
Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.
If successfully exploited, this vulnerability can lead to unauthorized access, data theft, or the execution of malicious actions on behalf of the victim.
To fix this vulnerability, it is recommended to upgrade to version 1.1.0 or later of the selectize-plugin-a11y package.
No specific workaround is mentioned for this vulnerability. Upgrading to the fixed version is the recommended solution.