Vulnerability library
Security checkJanuary 09, 2023

ReDOS vulnerabities: multiple grammars - highlight.js

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmhighlight.js

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

oswasp:

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).

Recommendation

Update the highlight.js package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 9.0.0, < 10.4.1
  • Patched version(s): 10.4.1

References

Could your website be exposed too?

SmartScanner can check your website for ReDOS vulnerabities: multiple grammars - highlight.js and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 09, 2023