Skip to content

← Public intelligence

npm package

html-janitor

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.1npmAmendedPublished

    Cross-Site Scripting in html-janitor

    CVE-2017-0931 · GHSA-hfj4-96f7-6r5g

    Affected
    • npm html-janitor < 2.0.3
    Fixed in
    2.0.3· Vendor fix available
    Issue
    Versions of html-janitor prior to 2.0.2 (all current versions) are vulnerable to cross-site scripting (XSS). This is exploitable if user-controlled data is passed into the modules clean() function. Recommendation No fix is currently available for this vulnerability. It is recommended to use an alternative module for HTML sanitization.

    Recommended action: Upgrade to 2.0.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →