Skip to content
Fencer Intel
medium 5.0

GHSA-4cv2-xc5f-px8h json

Denial of Service in extension "Code Highlight" (codehighlight)

published 2y ago modified last yr.

cvss
5.0
version 3.1, GitHub
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

The codehighlight extension bundles a vulnerable version of the 3rd party JavaScript component “prism” which is known to be vulnerable against Regular expression Denial of Service (ReDoS).

Patch / fix

  • packagist brotkrueml/codehighlight 2.5.0

Is GHSA-4cv2-xc5f-px8h in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CVSS scores

assigned by version score vector
GitHub 3.1 5.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L

Affected packages

ecosystem package affected fixed in
packagist brotkrueml/codehighlight
<2.5.0
2.5.0

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.