DRUPAL-CORE-2023-004
Drupal core provides a page that outputs the markup from `phpinfo()` to assist with diagnosing PHP configuration. If an…
Mitigation
- Upgrade drupal/core to one of 9.4.12, 9.5.5, 10.0.5 (or later in the same release line).
Who should check
- Projects that depend on Packagist package drupal/core (>= 8.0.0, < 9.4.12; >= 9.5.0, < 9.5.5; >= 10.0.0, < 10.0.5)
Vulnerability facts
- Affected
- drupal/core >= 8.0.0, < 9.4.12; >= 9.5.0, < 9.5.5; >= 10.0.0, < 10.0.5
- Fixed in
- 9.4.12, 9.5.5, 10.0.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 | osv |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by DRUPAL-CORE-2023-004. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/DRUPAL-CORE-2023-004.md Affected: drupal/core >= 8.0.0, < 9.4.12; >= 9.5.0, < 9.5.5; >= 10.0.0, < 10.0.5 Fixed in: 9.4.12, 9.5.5, 10.0.5 Steps: 1. Search this machine and project for drupal/core (Packagist): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is DRUPAL-CORE-2023-004 being exploited?
There is no confirmed exploitation: DRUPAL-CORE-2023-004 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is DRUPAL-CORE-2023-004?
It has no CVSS score yet. Unknown.
Which versions are affected by DRUPAL-CORE-2023-004?
drupal/core >= 8.0.0, < 9.4.12; >= 9.5.0, < 9.5.5; >= 10.0.0, < 10.0.5.
Is there a fix for DRUPAL-CORE-2023-004?
Yes. Fixed in 9.4.12, 9.5.5, 10.0.5. Upgrade drupal/core to one of 9.4.12, 9.5.5, 10.0.5 (or later in the same release line).
How do I check if I'm affected by DRUPAL-CORE-2023-004?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.