# Graylog Web Interface cross-site scripting in TypeAhead and QueryInput

Source: https://junglewise.ai/threats/graylog-web-interface-cross-site-scripting-in-typeahead-and-queryinput-013ebbb8  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-09-03. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

Severity: info · Published 2020-09-03

Graylog Web Interface is a web-based user interface component for the Graylog log management platform. The software contains output encoding flaws in its TypeAhead and QueryInput components, allowing attackers to inject and execute arbitrary JavaScript code in victims' browsers. An attacker could steal session tokens, capture user credentials, or perform actions on behalf of the victim.

Vendors: [Graylog](https://junglewise.ai/threats/vendors/graylog), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 3 September 2020.

**Which products and versions are affected?** Graylog Web Interface all versions; graylog-web-interface (npm) SEMVER:introduced=0.0.0.

**Is there a fix for This vulnerability?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is This vulnerability attacked?** It is attacked over the network, in a software library.

**Am I affected?** Check whether you run Graylog Web Interface or graylog-web-interface (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

This is a Cross-Site Scripting (CWE-79) vulnerability affecting all versions of graylog-web-interface. The TypeAhead and QueryInput components fail to properly escape user-supplied input, allowing attackers to inject malicious JavaScript. The vulnerability is reachable via the web interface without authentication requirements. An attacker can craft a malicious link or input containing JavaScript payloads that execute in the victim's browser with the victim's privileges, potentially leading to session hijacking, credential theft, or unauthorized actions. No fix is currently available according to the advisory.

## Affected products

- Graylog Web Interface all versions

## Timeline

- 2020-09-03: disclosed

## References

- [https://www.npmjs.com/advisories/1028](https://www.npmjs.com/advisories/1028)
