phpMsAdmin
CVE-2025-63947
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain/lure authenticated session
-
DeliveryDeliver crafted dbname URL to victim
-
ExploitReflected script injected in database_mode.php response
-
ExecutionScript executes in victim browser
-
ImpactHijack session or act as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) a victim who is already authenticated to phpMsAdmin (PR:L - the description explicitly states the attack occurs 'after a user is authenticated'), and (2) that victim interacting with an attacker-supplied link or input that reaches the dbname parameter processed by database_mode.php (UI:R). The specific vulnerable surface is the dbname parameter in the database_mode.php file of phpMsAdmin 2.2. Limiting factors that reduce real-world risk: it is not exploitable against an unauthenticated user, it needs user interaction (no silent server-side compromise), impact is confined to the victim's browser context (limited C/I, no availability impact), and the affected product has a very small deployment base. |
| Impact | This is a classic medium-severity reflected XSS that the signals consistently rate as LOW real-world priority rather than a genuine emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, score 5.4) tells a coherent story: network-reachable and low-complexity, but it requires an already-authenticated session (PR:L) AND victim interaction (UI:R) to click/load a crafted link, with only limited confidentiality and integrity impact and no availability impact. EPSS strongly agrees with the low-urgency read - 0.18% probability at the 6th percentile indicates exploitation is very unlikely to be observed in the near term. There is no CISA KEV listing and no POC flagged in the input, so there is no evidence of active exploitation. The only nuance worth noting is the scope change (S:C), which is appropriate for XSS since the injected script executes in the victim's browser context rather than the vulnerable server process; this modestly elevates the base score but does not change the practical prerequisites. Bottom line: a real but low-priority bug - the combination of required authentication, required user interaction, and an obscure product (see prevalence) makes widespread opportunistic exploitation implausible. No signals conflict; the CVSS, EPSS, and absence of KEV/POC all point the same direction. |
| Exploit ScenarioDerived | An authenticated attacker (or someone who can lure an authenticated phpMsAdmin user) crafts a malicious URL that places JavaScript into the dbname parameter handled by database_mode.php; when the authenticated victim loads the link, the unsanitized value is reflected into the page and the script runs in their browser session. This could steal session tokens or perform actions in the phpMsAdmin UI as the victim. No public exploit code is identified in the provided data, though a vulnerability advisory is published on GitHub. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 13, 2026
Reflected cross-site scripting (XSS) in phpMsAdmin 2.2 allows an attacker to execute arbitrary web script or HTML via the dbname parameter in database_mode.php, but only after a victim user is authenticated to the application and interacts with a crafted link (CVSS vector PR:L/UI:R). The independent assessment rates this as a medium-severity, low-priority issue with limited impact confined to the victim's browser context (C:L/I:L/A:N), and no public exploit identified at time of analysis. EPSS is 0.18% (percentile 6%), indicating a very low likelihood of exploitation.
RemediationAI
No vendor-released patch identified at time of analysis; monitor the referenced advisories for updates. As a compensating control, ensure that all user-supplied input to the dbname parameter in database_mode.php is properly sanitized and output-encoded before being reflected back to the browser. Implementing a strict Content Security Policy (CSP) can reduce the impact of any XSS that does occur, though it may require tuning to avoid breaking legitimate functionality. Because exploitation requires authentication and user interaction, restrict access to the phpMsAdmin interface to trusted users and train them not to click untrusted links or follow unsolicited redirects. Note that these mitigations reduce risk but do not eliminate the underlying code flaw; a code fix is ultimately required. Refer to the advisory at https://github.com/solonbarroso/vulnerability-research/blob/main/advisories/phpMsAdmin/CVE-2025-63947.md for any future patch information.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a reflected cross-site scripting (XSS) issue (CWE-79) in phpMsAdmin, a PHP-based MySQL database administration tool. The specific vulnerable surface is the dbname parameter processed by the database_mode.php file. XSS occurs when user-supplied input is echoed back to the browser without proper sanitization or output encoding, allowing an attacker to inject malicious script that executes in the victim's browser. The CPE cpe:2.3:a:craigtaub:phpmsadmin:2.2 confirms the affected product and version. The attack requires the victim to already be authenticated (PR:L) and to interact with a crafted link (UI:R), meaning the attacker cannot force execution without user action. The scope is changed (S:C) because the injected script runs in the context of the victim's browser session, but the impact is limited to low confidentiality and integrity loss with no availability impact.
Know when Phpmsadmin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Authenticated session needed (PR:L) and a victim must load the crafted link (UI:R); reflected XSS runs in the browser so scope changes (S:C) with limited C/I and no A impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
A Reflected Cross-Site Scripting (XSS) vulnerability exists in phpMsAdmin version 2.2 in the database_mode.php file. An attacker can execute arbitrary web script or HTML via the dbname parameter after a user is authenticated.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
NVD
CVE.org
EPSS
GitHub
Exploit-DB