@pagefind/default-ui@1.0.4 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the @pagefind/default-ui 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)

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/default-ui to version 1.1.1 or higher.

<1.1.1