# npm package sanitize-html: version, licence, downloads, vulnerabilities

sanitize-html 2.18.2 (MIT); 17,527,785 downloads in the last 7 days; 0 known vulnerabilities in the latest version (OSV); repository apostrophecms/apostrophe: 4,679 stars, last push 2026-12-02.

| Part | Value | Source (licence) | As of |
|---|---|---|---|
| Latest version | name: sanitize-html, latest version: 2.18.2, license: MIT, description: Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis, dependencies: 6, node engine: >=22.12.0 | npm Registry (registry.npmjs.org, api.npmjs.org) (npm open source terms) | 2026-12-02T14:07:53.912Z |
| Downloads, last 7 days | 17,527,785 | npm Registry (registry.npmjs.org, api.npmjs.org) (npm open source terms) | 2026-12-02T14:07:53.912Z |
| Known vulnerabilities of the latest version | count: 0, ids:  | OSV.dev (licence of each advisory's source; npm advisories: GitHub Advisory Database (CC BY 4.0), OpenSSF Malicious Packages (Apache 2.0)) | 2026-12-02T14:07:53.912Z |
| Repository | full name: apostrophecms/apostrophe, stars: 4,679, open issues: 47, last push: 2026-12-02T10:53:29Z, archived: false | GitHub REST API (GitHub Terms of Service) | 2026-12-02T14:07:53.912Z |

Source: npm Registry (registry.npmjs.org, api.npmjs.org); OSV.dev; GitHub REST API. Licence: per part, see the table. Publisher pages: https://www.npmjs.com · https://osv.dev · https://github.com. Checked: 2026-12-02. As of: 2026-12-02T14:07:53.912Z (newest period of the parts).
Built from the publishers at most once per address and UTC day (after a failure again an hour later at the earliest), then served from our store. Fetched 2026-12-02T14:07:53.912Z. JSON: <https://api.agentdatahub.de/reports/npm/sanitize-html.json> · Live with other parameters: <https://api.agentdatahub.de/api/v1/call/bundle-npm-package-brief?package=sanitize-html>
Neighbours: [redis](https://api.agentdatahub.de/reports/npm/redis) · [bcryptjs](https://api.agentdatahub.de/reports/npm/bcryptjs) · [pdfkit](https://api.agentdatahub.de/reports/npm/pdfkit) · [@emotion/styled](https://api.agentdatahub.de/reports/npm/@emotion/styled)
