Skip to content

← Public intelligence

npm package

scratch-svg-renderer

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. Critical, CVSS 9.6npmAmendedPublished

    Cross-Site Scripting in scratch-svg-renderer

    CVE-2020-7750 · GHSA-j977-g5vj-j27g

    Affected
    • npm scratch-svg-renderer <= 0.2.0-prerelease.20201016121710
    Fixed in
    0.2.0-prerelease.20201019174008· Vendor fix available
    Issue
    This affects the package scratch-svg-renderer before 0.2.0-prerelease.20201019174008. The loadString function does not escape SVG properly, which can be used to inject arbitrary elements into the DOM via the transformMeasurements function.

    Recommended action: Upgrade to 0.2.0-prerelease.20201019174008 (pre-release) 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 →