Skip to main content

phpMsAdmin CVE-2025-63947

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-18 cve@mitre.org
5.4
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain/lure authenticated session
  2. Delivery
    Deliver crafted dbname URL to victim
  3. Exploit
    Reflected script injected in database_mode.php response
  4. Execution
    Script executes in victim browser
  5. Impact
    Hijack 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Rare
obscure single-author PHP project, negligible enterprise deployment footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

cpe:2.3:a:craigtaub:phpmsadmin:2.2:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy