Skip to content
OpenAdvisories
Unscored DRUPAL-CORE-2023-004

Drupal core provides a page that outputs the markup from `phpinfo()` to assist with diagnosing PHP configuration. If an attacker was able t…

Published Mar 15, 2023 · Updated Sep 19, 2026 · Assigned by DRUPAL

Description

Drupal core provides a page that outputs the markup from `phpinfo()` to assist with diagnosing PHP configuration.

If an attacker was able to achieve an XSS exploit against a privileged user, they may be able to use the phpinfo page to access sensitive information that could be used to escalate the attack.

This vulnerability is mitigated by the fact that a successful XSS exploit is required in order to exploit it.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/core >= 8.0.0, < 9.4.12 · >= 9.5.0, < 9.5.5 · >= 10.0.0, < 10.0.5 9.4.12, 9.5.5, 10.0.5 DRUPAL-CORE-2023-004

References