Cross-site Scripting in Prism
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| PrismJS | prism | affected |
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Data Grid 8.4.0 | |||
| prismjs | cpe:/a:redhat:jboss_data_grid:8 | RHSA-2022:8524 | 2022-11-17T00:00:00Z |
| RHINT Service Registry 2.3.0 GA | |||
| prismjs | cpe:/a:redhat:service_registry:2.3 | RHSA-2022:6835 | 2022-10-06T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2022-0785 | 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. |
Github GHSA |
GHSA-3949-f494-cm99 | Cross-site Scripting in Prism |
No CVSS v4.0
No CVSS v3.0
This CVE is not in the KEV list.
Exploit prediction score: 1.4% (1.425% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|