CVE-2025-46820

HIGH EPSS 5.9%
Published May 6, 20251y ago · Modified Jun 17, 20262w ago
7.1 CVSS 3.1
High
Find Similar
Published May 6, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

Description

phpgt/Dom provides access to modern DOM APIs. Versions of phpgt/Dom prior to 4.1.8 expose the GITHUB_TOKEN in the Dom workflow run artifact. The ci.yml workflow file uses actions/upload-artifact@v4 to upload the build artifact. This artifact is a zip of the current directory, which includes the automatically generated .git/config file containing the run's GITHUB_TOKEN. Seeing as the artifact can be downloaded prior to the end of the workflow, there is a few seconds where an attacker can extract the token from the artifact and use it with the GitHub API to push malicious code or rewrite release commits in your repository. Any downstream user of the repository may be affected, but the token should only be valid for the duration of the workflow run, limiting the time during which exploitation could occur. Version 4.1.8 fixes the issue.

CVSS Details

Base Score
7.1
Exploitability
1.6
Impact
5.5
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Low
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
5.9% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 4

CWE-200 Exposure of Sensitive Information to an Unauthorized Actor Information Exposure
CWE-312
CWE-522
CWE-538

References 2

  • github.com https://github.com/phpgt/Dom/commit/205cddcc82c002dfa48e874494efbf4c49497394
  • github.com https://github.com/phpgt/Dom/security/advisories/GHSA-cwj7-6v67-2cm4

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.