🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel
Article #34

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

#34
From: Edward Betts
Date: Mon, 12 Oct 2026 20:30
22 lines
2385 bytes
Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>
X-Debbugs-Cc: debian-devel@lists.debian.org

* 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.
Technical Details
Message-ID: <NNuOJ-58wJ-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Edward Betts <edward@4angle.com>
Newsgroups: linux.debian.bugs.dist,linux.debian.devel
Subject: Bug#1150725: ITP: node-xss -- HTML sanitization module for Node.js
Date: Mon, 12 Oct 2026 22:30:01 +0200
Message-ID: <NNuOJ-58wJ-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Oct 12 20:21:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Edward Betts <edward@4angle.com>, 1150725@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-devel@lists.debian.org, wnpp@debian.org
X-Debian-Pr-Message: report 1150725
X-Debian-Pr-Package: wnpp
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996459
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 22
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 12 Oct 2026 21:19:17 +0100
X-Original-Message-ID: <as1AsUQjoOMIuZ2A@4angle.com>