HighGHSA-q9q2-3ppx-mwqf

Graylog Allows Stored Cross-Site Scripting via Files Plugin and API Browser

Published 7 May 2025 · Updated 10 Sept 2026

Is your project on an affected org.graylog2:graylog2-server?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<6.2.0
Fixed in
6.2.0
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.graylog2:graylog2-server -DdepVersion=6.2.0 -DforceVersion=true

Details

Impact

Two minor vulnerabilities were identified in the Graylog2 enterprise server, which can be combined to carry out a stored cross-site scripting attack. An attacker with the permission FILES_CREATE can exploit these vulnerabilities to upload arbitrary Javascript code to the Graylog2 server, which - upon requesting of the file by a user of the API browser - results in the execution of this Javascript code in the context of the Graylog frontend application. This enables the attacker to carry out authenticated API requests with the permissions of the logged-in user, thereby taking over the user session.

Patches

The generic API has been removed in 6.2.0 rendering the attack vector unreachable and additional escaping has been added.

Analysis provided by Fabian Yamaguchi - Whirly Labs (Pty) Ltd

Is GHSA-q9q2-3ppx-mwqf in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.graylog2:graylog2-server, and gives you the command that fixes it.

More advisories for org.graylog2:graylog2-server

  • MediumCVE-2026-69190Graylog: Manager-to-Owner privilege escalation on saved searches and dashboards · 22 Sept 2026
  • MediumCVE-2026-55867Graylog token revocation endpoint allows authenticated users to delete other users’ access tokens · 28 Aug 2026
  • HighCVE-2026-55841Fortigate syslog message parser can be exploited to modify or delete fields from the original message · 28 Aug 2026
  • MediumCVE-2026-55425Graylog Server: System Catalog titles endpoint can be used to retrieve values of protected database fields · 28 Aug 2026
  • HighCVE-2025-53106Graylog vulnerable to privilege escalation through API tokens · 30 Jun 2025
  • HighCVE-2025-46827Graylog Allows Session Takeover via Insufficient HTML Sanitization · 7 May 2025
All 16 advisories for org.graylog2:graylog2-server

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.