# DRUPAL-CORE-2023-004: Drupal core provides a page that outputs the markup from phpinfo() to assist with diagnosing PHP configuration.

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-03-15T16:26:24.000Z
- Modified: 2026-09-19T18:22:52.000Z

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

(As written by Drupal Security Team.)

## Affected

- drupal/core (Packagist): from 8.0.0 before 9.4.12; from 9.5.0 before 9.5.5; from 10.0.0 before 10.0.5

## References

- <https://www.drupal.org/sa-core-2023-004> (web)

## Sources

- Drupal Security Team: [DRUPAL-CORE-2023-004](https://osv.dev/vulnerability/DRUPAL-CORE-2023-004), MIT, modified 2026-09-19

---

Page: https://cve.day/DRUPAL-CORE-2023-004 · Whole record: https://cve.day/DRUPAL-CORE-2023-004.json · Rebuilt by cve.day 2026-11-25T22:56:30.644Z
