Intel

AIKIDO-2026-885111

@bbob/html is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)CVE-2026-68550 Published Aug 5, 2026

73

High Risk

This Affects:

JS@bbob/html
2.5.8 - 4.3.1
Fixed in 4.4.0
Are you affected? Scan for Free

TL;DR

@bbob/html renders BBCode to HTML and builds element attributes through attrsToString, which relies on escapeAttrValue to neutralize dangerous URL schemes such as javascript: on the default render path. The scheme guard only matches a contiguous scheme token, so a control character placed inside the scheme keyword breaks the match while browsers still resolve the URL. User-controlled BBCode such as a [url] value containing java script: reaches an href unescaped and runs script when the link is followed. The fix strips ASCII tab, newline, and carriage-return characters before the URL-scheme guard runs.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you render user-controlled BBCode to HTML.

Background info

@bbob/html is vulnerable to Cross-Site Scripting (XSS) in versions 2.5.8 - 4.3.1.

How to fix this

Upgrade the @bbob/html library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform