pagefind@1.0.0-alpha.3 vulnerabilities

Implement search on any static website.

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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