Prism.js Prism cross-site scripting | CVE-2022-23647
NAME
Prism.js Prism cross-site scripting
- Platforms Affected:
Prism.js Prism 1.14.0
Prism.js Prism 1.26.0 - Risk Level:
7.5 - Exploitability:
Functional - Consequences:
Cross-Site Scripting
DESCRIPTION
Prism.js Prism is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the Command line plugin. A remote attacker could exploit this vulnerability to inject malicious script into a Web page which would be executed in a victim’s Web browser within the security context of the hosting Web site, once the page is viewed. An attacker could use this vulnerability to steal the victim’s cookie-based authentication credentials.
CVSS 3.0 Information
- Privileges Required: None
- User Interaction: Required
- Scope: Changed
- Access Vector: Network
- Access Complexity: High
- Confidentiality Impact: High
- Integrity Impact: Low
- Availability Impact: Low
- Remediation Level: Official Fix
MITIGATION
Upgrade to the latest version of Prism (1.27.0 or later), available from the Prism GIT Repository. See References.
- Reference Link:
https://github.com/PrismJS/prism/security/advisories/GHSA-3949-f494-cm99 - Reference Link:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23647
If you like the site, please consider joining the telegram channel and supporting us on Patreon using the button below.