GHSA-65xh-hh78-6454medium5.0No CVE assigned
Denial of Service in extension "Code Highlight" (codehighlight)
Impact
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).
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
brotkrueml/codehighlight Packagist
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 2.7.0Ecosystem versions | 2.7.0 |
Version evidence: OSV · GHSA-65xh-hh78-6454
View original version evidence (13 explicit versions)
Original source 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
- Patch github.com/brotkrueml/codehighlight/commit/c43d46ef571a3b94a6240782423ce04bfada7fd8
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/brotkrueml/codehighlight/2021-11-10-1.yaml
- Source reference github.com/brotkrueml/codehighlight
- Security advisory typo3.org/security/advisory/typo3-ext-sa-2021-016