GitHub Advisoryadvisory · Packagist
GHSA-65xh-hh78-6454 Denial of Service in extension "Code Highlight" (codehighlight)
MEDIUM
Official page ↗
- Ecosystem
- Packagist
- Packages
- brotkrueml/codehighlight
- Severity
- Moderate
- CVSS vector
- 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
- Reviewed
- 2024-05-15
Affected packages
• Packagist brotkrueml/codehighlight: < 2.7.0 → 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 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