| パッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|---|---|
| org.webjars.npm:jquery | < 1.9.0 | 1.9.0 |
| jQuery | < 1.9.0 | 1.9.0 |
| jquery-rails | < 2.2.0 | 2.2.0 |
| jquery | < 1.9.0 | 1.9.0 |
| jquery | < 1.9.0 | 1.9.0 |
Affected versions of jquery are vulnerable to cross-site scripting. This occurs because the main jquery function uses a regular expression to differentiate between HTML and selectors, but does not properly anchor the regular expression. The result is that jquery may interpret HTML as selectors when given certain inputs, allowing for client side code execution.
$("#log").html(
$("element[attribute='<img src=\"x\" onerror=\"alert(1)\" />']").html()
);
Update to version 1.9.0 or later.
これらの製品をお使いですか?サイトをスキャンして、脆弱なバージョンが公開されていないか確認しましょう。
無料でサイトをスキャン