devbridge-autocomplete has XSS in its default formatters: formatGroup and formatResult fail to escape HTML in untrusted
- Severity:
- Medium
Description
The default formatGroup and formatResult functions in devbridge-autocomplete concatenate values into HTML without escaping, allowing XSS when an attacker controls (or can taint) the suggestion data source.
Recommendation
Update the devbridge-autocomplete package to the latest compatible version. Followings are version details:
- Affected version(s): <= 2.0.0
- Patched version(s): 2.0.1
References
Related Issues
- Apostrophe has default XSS via `xmp` raw-text passthrough in `sanitize-html` - CVE-2026-44990
- Trix has a stored XSS vulnerability through its attachment attribute - Vulnerability
- Nuxt MDC has an XSS vulnerability in markdown rendering that bypasses HTML filtering - CVE-2025-54075
- MCPHub has an Improper Authorization vulnerability via its handleSseConnection function - CVE-2025-11287
You might also like:
- Tags:
- npm
- devbridge-autocomplete
Anything's wrong? Let us know Last updated on June 22, 2026


