Cross-Site Scripting Vulnerability in semantic-ui-search

semantic-ui-search Updated 02 Oct 2025

Summary

02/09/2020
HIGH
No i
High
Not published

GHSA-p9vv-3945-x93h: Cross-Site Scripting in semantic-ui-search. Affected versions are not published. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

semantic-ui-search is an npm package that provides a search component for Semantic UI, a popular front-end development framework. It allows users to implement search functionality in their web applications with ease. However, all versions of semantic-ui-search are vulnerable to Cross-Site Scripting (XSS) attacks. This vulnerability arises due to the lack of output encoding on the selection dropdowns, which allows user input to be executed as code instead of being displayed as plain text.

Vulnerability Detail

The Cross-Site Scripting vulnerability in semantic-ui-search can have severe consequences for web applications. Attackers can exploit this vulnerability to inject malicious scripts into the application, which can lead to various security issues such as session hijacking, defacement, or stealing sensitive user information. The lack of output encoding on the selection dropdowns allows the execution of arbitrary JavaScript code, making it possible for attackers to manipulate the application's behavior and compromise user data.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As there is no official fix for this vulnerability, one possible workaround is to manually implement output encoding on the selection dropdowns in your application. By properly encoding user input, you can prevent the execution of malicious scripts. Here's an example of how you can achieve this in JavaScript:

const userInput = getUserInput();
const encodedInput = encodeHTML(userInput);
document.getElementById('dropdown').innerHTML = encodedInput;

Conclusion

The Cross-Site Scripting vulnerability in semantic-ui-search poses a significant risk to web applications utilizing this package. It is crucial to stay informed about the latest updates and fixes for this vulnerability. Consider using alternative modules or implementing output encoding as a temporary workaround. For further support and assistance in vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for semantic-ui-search →

Share this vulnerability

FAQ

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. These scripts can be used to steal sensitive information, manipulate web content, or perform other malicious actions.

The Cross-Site Scripting vulnerability in semantic-ui-search allows attackers to execute arbitrary JavaScript code in the context of your application. This can lead to various security issues, such as unauthorized access, data theft, or manipulation of user sessions.

Currently, there is no fix available for the Cross-Site Scripting vulnerability in semantic-ui-search. It is recommended to use an alternative module or closely monitor the official repository for updates on the vulnerability and its resolution.

While there is no official fix, you can implement output encoding on the selection dropdowns in your application to mitigate the risk of this vulnerability. By properly encoding user input, you can prevent the execution of malicious scripts.

You can find more information about this vulnerability in the official advisory database. Additionally, you can reach out to the developers of semantic-ui-search or consult security experts for further guidance.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback