pagefind@0.1.1-rc22 vulnerabilities

Implement search on any static website.

  • latest version

    1.4.0

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the pagefind package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Cross-site Scripting (XSS)

    pagefind is an Implement search on any static website.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) through the document.currentScript.src lookup mechanism. An attacker can manipulate the source URL to load malicious content by injecting benign HTML elements such as an img tag with a specific name attribute. Note: This is only exploitable if the attacker can inject HTML into a live, hosted website.

    How to fix Cross-site Scripting (XSS)?

    Upgrade pagefind to version 1.1.1 or higher.

    <1.1.1