# DRUPAL-CONTRIB-2023-043: Provides \[highlight.php\](https://github.com/scrivo/highlight.php "highlight.php") integration to Drupal, allowing \<code\> blocks to be automatically highlighted with the correct language

- Database: Drupal
- Published: 2023-09-06
- Modified: 2026-09-10

## Affected versions

- drupal/highlight\_php (Packagist): fixed in 1.0.1

## Description

Provides [highlight.php](https://github.com/scrivo/highlight.php "highlight.php") integration to Drupal, allowing <code> blocks to be automatically highlighted with the correct language.

The module's Twig function doesn't sufficiently filter user-entered data.

## References

- https://www.drupal.org/sa-contrib-2023-043

Page: https://cve.now/DRUPAL-CONTRIB-2023-043

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