| Summary | remark-html is an open source nodejs library which compiles Markdown to HTML. In affected versions the documentation of remark-html has mentioned that it was safe by default. In practice the default was never safe and had to be opted into. That is, user input was not sanitized. This means arbitrary HTML can be passed through leading to potential XSS attacks. The problem has been patched in 13.0.2 and 14.0.1: `remark-html` is now safe by default, and the implementation matches the documentation. On older affected versions, pass `sanitize: true` if you cannot update. |
|---|---|
| Publication Date | Sept. 8, 2021, 4:15 a.m. |
| Registration Date | Sept. 8, 2021, 10 a.m. |
| Last Update | Nov. 21, 2024, 3:18 p.m. |
| CVSS3.1 : MEDIUM | |
| スコア | 6.1 |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 不要 |
| 利用者の関与(UI) | 要 |
| 影響の想定範囲(S) | 変更あり |
| 機密性への影響(C) | 低 |
| 完全性への影響(I) | 低 |
| 可用性への影響(A) | なし |
| CVSS2.0 : MEDIUM | |
| Score | 4.3 |
|---|---|
| Vector | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 中 |
| 攻撃前の認証要否(Au) | 不要 |
| 機密性への影響(C) | なし |
| 完全性への影響(I) | 低 |
| 可用性への影響(A) | なし |
| Get all privileges. | いいえ |
| Get user privileges | いいえ |
| Get other privileges | いいえ |
| User operation required | はい |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:remark:remark-html:*:*:*:*:*:node.js:*:* | 14.0.0 | 14.0.1 | |||
| cpe:2.3:a:remark:remark-html:*:*:*:*:*:node.js:*:* | 13.0.2 | ||||
| Title | remark-html におけるクロスサイトスクリプティングの脆弱性 |
|---|---|
| Summary | remark-html には、クロスサイトスクリプティングの脆弱性が存在します。 |
| Possible impacts | 情報を取得される、および情報を改ざんされる可能性があります。 |
| Solution | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | Sept. 7, 2021, midnight |
| Registration Date | June 29, 2022, 2:49 p.m. |
| Last Update | June 29, 2022, 2:49 p.m. |
| remark |
| remark-html 13.0.2 未満 |
| remark-html 14.0.1 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2022年06月29日] 掲載 |
June 29, 2022, 2:49 p.m. |