CVE-2026-25868: MiniGal Nano <= 0.3.5 Reflected XSS via dir Parameter
MiniGal Nano version 0.3.5 and prior contain a reflected cross-site scripting (XSS) vulnerability in index.php via the dir parameter. The application constructs $currentdir from user-controlled input and embeds it into an error message without output encoding, allowing an attacker to supply HTML/JavaScript that is reflected in the response. Successful exploitation can lead to execution of arbitrary script in a victim's browser in the context of the vulnerable application.
Security readout for executives and security teams
Plain-English summary
MiniGal Nano 0.3.5 and earlier can reflect attacker-supplied content from the dir parameter into a browser response without proper encoding. A victim must interact with a crafted link or request. Impact is browser-side script execution within the vulnerable gallery site, not direct server takeover.
Executive priority
Treat this as a moderate-priority web application issue. It is not described as actively exploited, but public-facing legacy gallery software can expose users to credential theft, session abuse, or phishing within a trusted site context.
Technical view
The issue is reflected XSS in index.php. User-controlled dir input is used to build $currentdir and then embedded in an error message without output encoding. CVSS 4.0 score is 5.1, with network attack vector, low complexity, no privileges, and user interaction required.
Likely exposure
Exposure is most likely in legacy public or intranet deployments of MiniGal Nano 0.3.5 or earlier. The CVE data does not provide CPEs, deployment prevalence, or a named fixed version.
Exploitation context
The supplied sources do not indicate active exploitation, and the CVE is not listed as KEV. Exploitation requires user interaction, such as a victim opening attacker-controlled content that reaches the vulnerable application.
Researcher notes
Evidence supports CWE-79 reflected XSS tied specifically to dir handling in MiniGal Nano <=0.3.5. Patch status is unclear in the supplied sources, so remediation should be verified against vendor guidance or by confirming correct output encoding in code.
Mitigation direction
Inventory sites for MiniGal Nano and confirm installed versions.
Check vendor or maintainer guidance for a fixed release or official workaround.
If no maintained fix exists, replace or retire exposed MiniGal Nano deployments.
Ensure dir-derived output is HTML-encoded before rendering in responses.
Restrict access to vulnerable galleries until remediation is complete.
Validation and detection
Confirm whether index.php accepts a dir parameter in deployed instances.
Review error-message rendering for unencoded user-controlled directory values.
Test safely that supplied dir input is displayed as text, not executable content.
Inspect web logs for suspicious dir values containing markup or script indicators.
Verify remediation on every public and intranet gallery deployment.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.