p PatchFirst

PatchFirst · Latest vulnerabilities

highlight.js vulnerabilities

Vulnerabilities published for highlight.js in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 2

  1. GHSA-7wwv-vh3v-89cq

    Not ratedFix available

    ReDOS vulnerabities: multiple grammars

    ### Impact: Potential ReDOS vulnerabilities (exponential and polynomial RegEx backtracking) [oswasp](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS): > The Regular expression Denial of Service (ReDoS) is a Denial of Service attack, that exploits the fact that most Regular Expression implementations may reach extreme situations that cause them to work very slowly (exponentially related to input size). An attacker can then cause a program using a Regular Expression to enter these extreme situations and then hang for a very long time. If are you are using Highlight.js to highlight user-provided data you

    • Update to 10.4.1
    Published Updated
  2. CVE-2020-26237

    Medium · CVSS 5.8EPSS 1.33%Fix available

    Prototype Pollution in highlight.js

    Highlight.js is a syntax highlighter written in JavaScript. Highlight.js versions before 9.18.2 and 10.1.2 are vulnerable to Prototype Pollution. A malicious HTML code block can be crafted that will result in prototype pollution of the base object's prototype during highlighting. If you allow users to insert custom HTML code blocks into your page/app via parsing Markdown code blocks (or similar) and do not filter the language names the user can provide you may be vulnerable. The pollution should just be harmless data but this can cause problems for applications not expecting these properties to exist and can result in strange behavior or appl

    • Update to 10.1.2
    • Update to 9.18.2
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →