CVE-2018-14380: Cross-site Scripting in Graylog Server
6.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.49863%
CWE
Published
5/14/2022
Updated
2/2/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.graylog2:graylog2-server | maven | < 2.4.6 | 2.4.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped template rendering in typeahead components. The patch (PR #4904) specifically adds _.escape()
calls to sanitize suggestion values in TypeAheadInput.jsx
. Both components mentioned in the advisory handle user-controlled input for search suggestions without proper output encoding in vulnerable versions. The XSS occurs because user input was directly rendered in HTML templates without sanitization, allowing script execution when suggestions were displayed.