facturascripts/facturascripts の脆弱性
概要
facturascripts/facturascripts に 脆弱性 (CVE-2026-45710) が存在。不正な操作・情報露出のリスクがあります。referencia 経由で攻撃可能。
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
facturascripts/facturascripts という製品で、CVE-2026-45710 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに referencia のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「facturascripts/facturascripts CVE-2026-45710」を検索してください。
CVE-2026-45710 (facturascripts/facturascripts) — CWE-116
攻撃ベクター: ネットワーク経由 (リモート攻撃可)
脆弱箇所: referencia / codsubcuenta / onclick / Variante.referencia
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
facturascripts/facturascripts に 脆弱性 (CWE-116) があります。攻撃者は referencia を経由して脆弱な処理に到達できます。
facturascripts/facturascripts の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: referencia / codsubcuenta / onclick / Variante.referencia。
重要度: ?。不正な操作・情報露出のリスクがあります。
ベンダー公式アドバイザリの修正版に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
grep -r 'facturascripts/facturascripts' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
facturascripts/facturascriptsを grep し、稼働しているサービス・バージョンを把握する。 -
2
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| composerfacturascripts/facturascripts |
2026.2 未満→ 2026.2 |
2026.2 |
| Packagistfacturascripts/facturascripts |
2026.2 未満→ 2026.2 |
2026.2 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
WidgetVariante::renderVariantList (Core/Lib/Widget/WidgetVariante.php:298-330) and WidgetSubcuenta::renderSubaccountList (Core/Lib/Widget/WidgetSubcuenta.php:290-321) build the `` row for each modal hit by concatenating the user-controlled referencia / codsubcuenta field directly into a single-quoted JavaScript string literal inside an HTML onclick attribute. The defender's intuition is that Tools::noHtml (called in Variante::test() and Subcuenta::test()) replaces ' with the HTML entity ', neutralising the JavaScript string break. The intuition is wrong: HTML attribute parsing decodes character references before the JavaScript fragment is parsed, so ' becomes a literal ' in the JavaScript context. An attacker who can store a value such as 1',alert(1),'2 in Variante.referencia (no special characters required, just one apostrophe) ends up with widgetVarianteSelect('id', '1',alert(1),'2'); executing in any user's browser the moment they open the variant-picker modal.
The recent 40bc701 and 8586b97 fixes corrected the same anti-pattern in three sister classes by switching to data-reference="..." + this.dataset.reference. The two widget classes audited here were missed by that fix wave.
Details
the offending code
Core/Lib/Widget/WidgetVariante.php:298-330:
protected function renderVariantList(): string
{
$items = [];
foreach ($this->variantes() as $item) {
$match = $item->{$this-…
出典: GitHub Security Advisories (Global) NVD GitHub Advisory
参照URL
- JVN JVNDB-2026-025872
- package github.com
- web github.com
- web github.com
- web github.com