Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

ubuntu логотип

CVE-2022-23647

Опубликовано: 18 фев. 2022
Источник: ubuntu
Приоритет: medium
CVSS2: 4.3
CVSS3: 7.5

Описание

Prism is a syntax highlighting library. Starting with version 1.14.0 and prior to version 1.27.0, Prism's command line plugin can be used by attackers to achieve a cross-site scripting attack. The command line plugin did not properly escape its output, leading to the input text being inserted into the DOM as HTML code. Server-side usage of Prism is not impacted. Websites that do not use the Command Line plugin are also not impacted. This bug has been fixed in v1.27.0. As a workaround, do not use the command line plugin on untrusted inputs, or sanitize all code blocks (remove all HTML code text) from all code blocks that use the command line plugin.

РелизСтатусПримечание
devel

not-affected

1.29.0+dfsg+~1.26.0-1
esm-apps/focal

needs-triage

esm-apps/jammy

needs-triage

esm-apps/noble

not-affected

1.29.0+dfsg+~1.26.0-1
focal

ignored

end of standard support, was needs-triage
impish

ignored

end of life
jammy

needs-triage

kinetic

ignored

end of life, was needs-triage
lunar

not-affected

1.29.0+dfsg+~1.26.0-1
mantic

not-affected

1.29.0+dfsg+~1.26.0-1

Показывать по

4.3 Medium

CVSS2

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 6.1
redhat
почти 4 года назад

Prism is a syntax highlighting library. Starting with version 1.14.0 and prior to version 1.27.0, Prism's command line plugin can be used by attackers to achieve a cross-site scripting attack. The command line plugin did not properly escape its output, leading to the input text being inserted into the DOM as HTML code. Server-side usage of Prism is not impacted. Websites that do not use the Command Line plugin are also not impacted. This bug has been fixed in v1.27.0. As a workaround, do not use the command line plugin on untrusted inputs, or sanitize all code blocks (remove all HTML code text) from all code blocks that use the command line plugin.

CVSS3: 7.5
nvd
почти 4 года назад

Prism is a syntax highlighting library. Starting with version 1.14.0 and prior to version 1.27.0, Prism's command line plugin can be used by attackers to achieve a cross-site scripting attack. The command line plugin did not properly escape its output, leading to the input text being inserted into the DOM as HTML code. Server-side usage of Prism is not impacted. Websites that do not use the Command Line plugin are also not impacted. This bug has been fixed in v1.27.0. As a workaround, do not use the command line plugin on untrusted inputs, or sanitize all code blocks (remove all HTML code text) from all code blocks that use the command line plugin.

CVSS3: 7.5
debian
почти 4 года назад

Prism is a syntax highlighting library. Starting with version 1.14.0 a ...

CVSS3: 7.5
github
почти 4 года назад

Cross-site Scripting in Prism

4.3 Medium

CVSS2

7.5 High

CVSS3