#1150725 ITP: node-xss -- HTML sanitization module for Node.js

#1150725#5
Date:
2026-10-12 20:19:17 UTC
From:
To:
* Package name    : node-xss
  Version         : 1.0.15
  Upstream Author : Zongmin Lei <leizongmin@gmail.com>
* URL             : https://github.com/leizongmin/js-xss
* License         : MIT
  Programming Lang: JavaScript
  Description     : HTML sanitization module for Node.js

  This module filters untrusted HTML to help prevent cross-site scripting
  (XSS) attacks. It uses a configurable list of allowed tags and attributes,
  checks attribute values, and filters inline CSS. Disallowed tags can be
  escaped or removed, optionally together with their contents.
  .
  Custom callbacks can control how tags and attributes are handled.

This library is a dependancy of Home Assistant, the Python smart home platform.
I plan to maintain it as part of the Home Assistant team.