Intel

AIKIDO-2025-10125

lookbook is vulnerable to Cross-site Scripting (XSS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 3, 2025
March 3, 2025

35

CVE Score

Low

Cross-site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to cross-site scripting (XSS) due to improper escaping of parameter values. If an attacker injects a specially crafted value containing quotes and JavaScript code, it could be executed within the application. For example, a value like "-alert(window.location.href)-" could bypass protections and execute malicious scripts. To mitigate this, the fix ensures that special characters, including quotes, are properly escaped using html_escape, converting them to their HTML entity equivalents while preserving the intended functionality.

How do I fix this?

Upgrade the lookbook 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

0.2.0 - 2.3.4

Fixed in 2.3.5

Background info

lookbook is vulnerable to Cross-site Scripting (XSS) in versions 0.2.0 - 2.3.4.

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