Описание
Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly contain JavaScript), because document.currentScript lookup can be shadowed by attacker-injected HTML elements.
Пакеты
| Пакет | Статус | Версия исправления | Релиз | Тип |
|---|---|---|---|---|
| node-prismjs | fixed | 1.30.0+dfsg+~1.26.5-1 | package | |
| node-prismjs | no-dsa | trixie | package | |
| node-prismjs | no-dsa | bookworm | package | |
| node-prismjs | postponed | bullseye | package |
Примечания
https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660
https://github.com/PrismJS/prism/issues/3864
https://github.com/PrismJS/prism/pull/3863 (v1.30.0)
Fixed by: https://github.com/PrismJS/prism/commit/8e8b9352dac64457194dd9e51096b4772532e53d (v1.30.0)
EPSS
Связанные уязвимости
Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly contain JavaScript), because document.currentScript lookup can be shadowed by attacker-injected HTML elements.
Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly contain JavaScript), because document.currentScript lookup can be shadowed by attacker-injected HTML elements.
Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly contain JavaScript), because document.currentScript lookup can be shadowed by attacker-injected HTML elements.
EPSS