@bbob/plugin-helper is vulnerable to Cross-Site Scripting (XSS)
73
High Risk
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.
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.
@bbob/plugin-helper is vulnerable to Cross-Site Scripting (XSS) in versions 2.5.8 - 4.3.1.
Upgrade the @bbob/plugin-helper library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant