Intel

AIKIDO-2025-10818

Giraffe is vulnerable to Cross-Site Scripting (XSS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 18, 2025
November 18, 2025

41

CVE Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Reflected Cross-Site Scripting (XSS) due to improper neutralization of user input in the redirectTo pathway. An attacker can exploit this by tricking a user into clicking a maliciously crafted link containing a script payload as the location parameter, which fails the redirect URL validation check and is then unsafely logged into the HTML response by the defaultHandler, causing the injected script to execute in the victim's browser when the error page is rendered.

How do I fix this?

Upgrade the Giraffe library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

5.0.0 - 8.1.0

Fixed in 8.2.0

Background info

Giraffe is vulnerable to Cross-Site Scripting (XSS) in versions 5.0.0 - 8.1.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea