Intel

AIKIDO-2026-508122

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

Cross-Site Scripting (XSS)CVE-2026-68550 Published 4 days ago

73

High Risk

This Affects:

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

TL;DR

The escapeAttrValue helper in @bbob/plugin-helper neutralizes dangerous URL schemes such as javascript, data, vbscript, and file by encoding the scheme colon, but it matches the scheme with a contiguous-token regular expression. A control character such as a tab, newline, or carriage return placed inside the scheme keyword breaks the match while browsers still strip those characters and resolve the URL as that scheme. When user-controlled text is written into an HTML attribute value this produces an href that executes script when the link is activated, resulting in cross-site scripting. The fix strips ASCII control characters from the value before applying the scheme guard.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you render untrusted BBCode to HTML using the default HTML output path.

Background info

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

How to fix this

Upgrade the @bbob/plugin-helper library to the patch version.