Cross-Site Scripting in graylog-web-interface

graylog-web-interface Updated 02 Oct 2025

Summary

03/09/2020
HIGH
No i
High
Not published

GHSA-9qgh-7pgp-hp7r: Cross-Site Scripting in graylog-web-interface. Affects graylog-web-interface versions >= 0.0.0. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The graylog-web-interface package is an npm package that provides a web interface for the Graylog log management system. It allows users to interact with the Graylog server, perform searches, view logs, and manage log streams. The package is widely used by developers and organizations to monitor and analyze log data. However, all versions of the graylog-web-interface package are vulnerable to Cross-Site Scripting (XSS) attacks.

Vulnerability Detail

The vulnerability in graylog-web-interface is due to a failure to properly escape output on the TypeAhead and QueryInput components. This allows attackers to inject and execute arbitrary JavaScript code on the victim's browser. An attacker can exploit this vulnerability by crafting malicious input that is not properly sanitized by the package. If successfully exploited, the attacker can perform various malicious actions, such as stealing sensitive information, hijacking user sessions, or defacing the web interface.

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 fix available, a possible workaround is to implement input sanitization and validation on the server-side to prevent the injection of malicious code. Additionally, implementing Content Security Policy (CSP) headers can help mitigate the impact of XSS attacks by restricting the execution of injected scripts.

Conclusion

The graylog-web-interface package is vulnerable to Cross-Site Scripting (XSS) attacks, which can have severe consequences for the security and integrity of the web interface. It is important for developers and organizations using this package to be aware of the vulnerability and take appropriate measures to mitigate the risk. Monitoring for updates and applying the fix as soon as it becomes available is crucial. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for graylog-web-interface →

Share this vulnerability

FAQ

Graylog-web-interface is an npm package that provides a web interface for the Graylog log management system. It allows users to interact with the Graylog server, perform searches, view logs, and manage log streams.

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject and execute malicious scripts in web pages viewed by other users. It can be used to steal sensitive information, hijack user sessions, or deface websites.

An attacker can exploit this vulnerability by crafting malicious input that is not properly sanitized by the graylog-web-interface package. This input can be in the form of user input, query parameters, or other data sent to the web interface.

If successfully exploited, this vulnerability can allow an attacker to execute arbitrary JavaScript code on the victim's browser. This can lead to various malicious actions, such as stealing sensitive information, hijacking user sessions, or defacing the web interface.

Currently, there is no fix available for this vulnerability. It is recommended to use an alternative package until a fix is provided by the package maintainers.

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