# GHSA-65XH-HH78-6454: Denial of Service in extension "Code Highlight" (codehighlight)

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2024-05-15
- Modified: 2024-11-29

## Affected versions

- brotkrueml/codehighlight (Packagist): fixed in 2.7.0

## Description

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

## References

- https://github.com/brotkrueml/codehighlight/commit/c43d46ef571a3b94a6240782423ce04bfada7fd8
- https://github.com/FriendsOfPHP/security-advisories/blob/master/brotkrueml/codehighlight/2021-11-10-1.yaml
- https://github.com/brotkrueml/codehighlight
- https://typo3.org/security/advisory/typo3-ext-sa-2021-016

Page: https://cve.now/GHSA-65XH-HH78-6454

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
