ApostropheCMS: Color field validation bypass allows stored XSS via HTML appended after rgb()/hsl() prefix
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| apostrophecmsapostrophe | — | 記載なし |
| npmapostrophe |
4.34.0 未満→ 4.34.0 |
4.34.0 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
ApostropheCMS is an open-source Node.js content management system. Prior to 4.34.0, the color field accepts trailing content after a valid rgb() or hsl() prefix because its TinyColor validation does not require the entire value to match a color. An authenticated user with edit rights can store arbitrary HTML after a valid color prefix. When the stored value is rendered, the payload executes, resulting in stored XSS. This issue is fixed in version 4.34.0.
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com