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

- Severity: Medium 5.0 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L/E:F/RL:O/RC:C`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-15T18:03:12.000Z
- Modified: 2024-11-29T05:41:25.167Z

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

(As written by GitHub Advisory Database.)

## Affected

- brotkrueml/codehighlight (Packagist): before 2.7.0

## References

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

## Sources

- GitHub Advisory Database: [GHSA-65xh-hh78-6454](https://github.com/advisories/GHSA-65xh-hh78-6454), CC-BY-4.0, modified 2024-11-29

---

Page: https://cve.day/GHSA-65xh-hh78-6454 · Whole record: https://cve.day/GHSA-65xh-hh78-6454.json · Rebuilt by cve.day 2026-11-25T22:56:31.274Z
