CVE-2026-7263: Dom\XMLDocument::C14N() emits duplicate xmlns declarations after setAttributeNS()

medium Affects PHP engine. Feed 2026.11.26.1, updated 2026-11-25; published .

Dom\XMLDocument::C14N() emits duplicate xmlns declarations after setAttributeNS()

Package
PHP engine PHP engine
Affected branches
8.4 → fixed in 8.4.21; 8.5 → fixed in 8.5.6
Severity
medium  CVSS 6.3
Exploitation
not on CISA KEV · EPSS 1% (44.6th percentile)
Remediation
Upgrade to 8.5.6 / 8.4.21. Branches older than 8.4 are not affected.
Published
2026-05-10
Source
php-src NEWS + NVD

References

NVD recordPHP engine advisories

Quick answers

Is CVE-2026-7263 being actively exploited?

It is not on CISA's Known Exploited Vulnerabilities list today.

Which version fixes CVE-2026-7263?

The fixed release depends on your PHP branch; see the table above.

How do I check whether I am affected?

Run `phpwarden scan`. phpwarden checks the exact version you have installed against this advisory.

Am I affected?

Find out in one command. phpwarden checks this host's PHP build against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden scan

# or, without Composer
pipx install phpwarden   &&   phpwarden scan

Running a fleet? Aggregate hosts into one report.

Install docs   How findings are ranked

Related advisories