LiveActive security incident?Get immediate response
CVE Record

CVE-2017-16017: sanitize-html is a library for scrubbing html input for malicious values Versions 1.2.2 and below have a cr...

sanitize-html is a library for scrubbing html input for malicious values Versions 1.2.2 and below have a cross site scripting vulnerability.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2017-16017 affects the sanitize-html Node module, a library used to clean user-supplied HTML. Versions 1.2.2 and earlier may fail to remove malicious content, creating a cross-site scripting risk when cleaned HTML is rendered to users.

Executive priority

Prioritize remediation for internet-facing or multi-user applications that render user-generated HTML. The business risk is stored or reflected script execution against customers or staff, but the provided sources do not support emergency active-exploitation handling.

Technical view

The CVE records a CWE-79 cross-site scripting flaw in HackerOne's sanitize-html node module for versions <=1.2.2. The provided sources do not include CVSS scoring, detailed affected call patterns, or a confirmed fixed version beyond identifying the vulnerable range.

Likely exposure

Exposure is likely where an application depends on sanitize-html <=1.2.2 and renders sanitized user-controlled HTML in browsers, such as comments, profiles, CMS content, or rich-text fields.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation evidence. Practical impact depends on whether attacker-controlled HTML reaches pages viewed by other users and whether browser/session protections limit follow-on abuse.

Researcher notes

Evidence is limited to the CVE description and upstream references. No CVSS vector, exploit status, or detailed patch statement is present in the bundle, so validation should focus on dependency version, reachable rendering paths, and upstream issue context.

Mitigation direction

  • Inventory package manifests and lockfiles for sanitize-html versions <=1.2.2.
  • Upgrade away from the affected range following upstream package guidance.
  • Review all user-controlled HTML rendering paths that rely on this library.
  • Add regression tests for malicious HTML being rejected or neutralized.
  • Use browser-side defense in depth such as output encoding and CSP where appropriate.

Validation and detection

  • Confirm deployed artifacts do not include sanitize-html <=1.2.2.
  • Trace whether sanitized user input is rendered into authenticated user sessions.
  • Review the upstream issue and pull request for affected behavior details.
  • Run existing XSS regression tests against rich-text and HTML-rendering features.
  • Verify dependency scanning flags this CVE in CI or release checks.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2017-16017 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
HackerOnesanitize-html node module<=1.2.2Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.