Vulnerability library
Security checkOctober 18, 2024

Slim Select has potential Cross-site Scripting issue

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmslim-select

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

Update the slim-select package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 2.0.0, < 2.9.2
  • Patched version(s): 2.9.2

References

Could your website be exposed too?

SmartScanner can check your website for Slim Select has potential Cross-site Scripting issue and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 18, 2024