| Package | Affected versions | Patched versions |
|---|---|---|
| prism | ≤ 1.29.0 | |
| prismjs | < 1.30.0 | 1.30.0 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free