Intel

AIKIDO-2025-10818

Giraffe is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 18, 2025

41

Medium Risk

This Affects:

DOTNETGiraffe
5.0.0 - 8.1.0
Fixed in 8.2.0
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.

Who does this affect?

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

Background info

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

How to fix this

Upgrade the Giraffe library to the patch version.