CVE-2023-53939: TinyWebGallery v2.5 Stored Cross-Site Scripting via Folder Name Parameter
TinyWebGallery v2.5 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious scripts through the folder name parameter. Attackers can edit album folder names with script tags to execute arbitrary JavaScript when other users view the affected gallery pages.
Security readout for executives and security teams
Plain-English summary
TinyWebGallery 2.5 has a stored cross-site scripting issue in album folder names. A logged-in attacker who can edit folder names may save malicious JavaScript that runs when another user views affected gallery pages. The business risk is account/session exposure or unauthorized actions in the victim's browser, not direct server takeover.
Executive priority
Treat this as a moderate-priority web application risk. It should be remediated promptly on public or multi-user galleries, especially where administrators regularly view user-managed albums. It is less urgent than unauthenticated remote code execution, but public exploit details raise operational urgency.
Technical view
CVE-2023-53939 is CWE-79 stored XSS in TinyWebGallery 2.5. The reported vector is the folder name parameter used when editing album folder names. CVSS 3.1 is 5.4 with network access, low complexity, low privileges, required user interaction, changed scope, low confidentiality impact, low integrity impact, and no availability impact.
Likely exposure
Exposure is likely limited to organizations running TinyWebGallery 2.5 where authenticated users can edit album folder names and other users view those galleries. Public-facing galleries increase impact, but attacker authentication is still required by the source bundle.
Exploitation context
ExploitDB and VulnCheck references are available, so practical exploit information is public. The source bundle does not show CISA KEV listing or other evidence of active exploitation. Exploitation requires authenticated access plus another user viewing the affected gallery page.
Researcher notes
Evidence supports TinyWebGallery 2.5 only. Do not assume other versions are affected without vendor or CVE evidence. Key validation areas are stored input handling for album folder names, output encoding on gallery views, and privilege boundaries around folder editing.
Mitigation direction
Identify and prioritize any TinyWebGallery 2.5 deployments.
Check TinyWebGallery vendor guidance for a fixed version or official workaround.
Restrict album folder editing to trusted administrators only.
Review and clean existing album folder names for suspicious script content.
Monitor gallery administration activity for unexpected folder name changes.
Validation and detection
Confirm whether TinyWebGallery 2.5 is deployed in production or externally reachable.
Review which accounts can edit album folder names.
Inspect current album folder names for script-like markup or unexpected HTML.
Confirm affected pages encode folder names before rendering them in browsers.
Check logs for recent folder rename activity by low-privileged users.
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.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.