NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-45389
Summary

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.

Publication Date Sept. 4, 2024, 5:15 a.m.
Registration Date Sept. 4, 2024, noon
Last Update Sept. 13, 2024, 5:17 a.m.
CVSS3.1 : MEDIUM
スコア 5.4
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI)
影響の想定範囲(S) 変更あり
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:cloudcannon:pagefinder:*:*:*:*:*:*:*:* 1.1
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
cloudcannon の pagefinder におけるクロスサイトスクリプティングの脆弱性
Title cloudcannon の pagefinder におけるクロスサイトスクリプティングの脆弱性
Summary

cloudcannon の pagefinder には、クロスサイトスクリプティングの脆弱性が存在します。

Possible impacts 情報を取得される、および情報を改ざんされる可能性があります。
Solution

ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date Sept. 3, 2024, midnight
Registration Date Sept. 17, 2024, 2:11 p.m.
Last Update Sept. 17, 2024, 2:11 p.m.
Affected System
cloudcannon
pagefinder 1.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2024年09月17日]
  掲載
Sept. 17, 2024, 2:11 p.m.