Description
Pagefind initializes its dynamic JavaScript and WebAssembly files relative to the location of the first script you load. This information is gathered by looking up the value of document.currentScript.src.
Recommendation
Update the @pagefind/default-ui package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.1.1
- Patched version(s): 1.1.1
References
Could your website be exposed too?
SmartScanner can check your website for DOM clobbering could escalate to Cross-site Scripting (XSS) - @pagefind/default-ui and gives you actionable findings to investigate.
Start a free scanRelated Issues
- DOM clobbering could escalate to Cross-site Scripting (XSS) - pagefind - CVE-2024-45389
- DOM clobbering could escalate to Cross-site Scripting (XSS) - CVE-2024-45389
- Layui has DOM Clobbering gadgets that leads to Cross-site Scripting - CVE-2024-47075
- TinyMCE Cross-Site Scripting (XSS) vulnerability in handling iframes - CVE-2024-29203


