目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-45389— Pagefind 安全漏洞

一分钟漏洞结论

影响对象
CloudCannon pagefind
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Pagefind是CloudCannon开源的一个完全静态的搜索库。 Pagefind 1.1.1版本及之前版本存在安全漏洞,该漏洞源于对document.currentScript.src值的查找可以被页面上的其他HTML元素覆盖,这可能导致外部域被用来加载依赖项,从而可能使攻击者提升其可执行的操作权限。

CVSS 6.4 · Medium EPSS 0.42% · P34
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-45389 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Pagefind DOM clobbering could escalate to Cross-site Scripting (XSS)
来源: CVE Program / CVE List V5
Vulnerability Description
Pagefind, a fully static search library, initializes its dynamic JavaScript and WebAssembly files relative to the location of the first script the user loads. This information is gathered by looking up the value of `document.currentScript.src`. Prior to Pagefind version 1.1.1, it is possible to "clobber" this lookup with otherwise benign HTML on the page. This will cause `document.currentScript.src` to resolve as an external domain, which will then be used by Pagefind to load dependencies. This exploit would only work in the case that an attacker could inject HTML to a live, hosted, website. In these cases, this would act as a way to escalate the privilege available to an attacker. This assumes they have the ability to add some elements to the page (for example, `img` tags with a `name` attribute), but not others, as adding a `script` to the page would itself be the cross-site scripting vector. Pagefind has tightened this resolution in version 1.1.1 by ensuring the source is loaded from a valid script element. There are no reports of this being exploited in the wild via Pagefind.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
来源: CVE Program / CVE List V5
Vulnerability Title
Pagefind 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Pagefind是CloudCannon开源的一个完全静态的搜索库。 Pagefind 1.1.1版本及之前版本存在安全漏洞,该漏洞源于对document.currentScript.src值的查找可以被页面上的其他HTML元素覆盖,这可能导致外部域被用来加载依赖项,从而可能使攻击者提升其可执行的操作权限。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
CloudCannon pagefind < 1.1.1 -

二、漏洞 CVE-2024-45389 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-45389 的情报信息

请登录查看更多情报信息。

CVE-2024-45389 厂商安全公告 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2024-45389

暂无评论


发表评论