| パッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|---|---|
| phlex | ≥ 2.0.0.beta1, < 2.0.2≥ 2.1.0, < 2.1.3≥ 2.2.0, < 2.2.2≥ 2.3.0, < 2.3.2≥ 2.4.0.beta1, < 2.4.1< 1.11.1 | 2.0.22.1.32.2.22.3.22.4.11.11.1 |
During a security audit conducted with Claude Opus 4.6 and GPT-5.3-Codex, we identified three specific ways to bypass the XSS (cross-site-scripting) protection built into Phlex.
div(**user_attributes).tag method, e.g. tag(some_tag_name_from_user).href attributes, e.g. a(href: user_provided_link).All three of these patterns are meant to be safe and all have now been patched.
Phlex has patched all three issues and introduced new tests that run against Safari, Firefox and Chrome.
The patched versions are:
Phlex has also patched the main branch in GitHub.
If a project uses a secure CSP (content security policy) or if the application doesn’t use any of the above patterns, it is not at risk.
これらの製品をお使いですか?サイトをスキャンして、脆弱なバージョンが公開されていないか確認しましょう。
無料でサイトをスキャン