Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-72570: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in cube-root directory-serve

0
Medium
VulnerabilityCVE-2026-72570cvecve-2026-72570cwe-79
Published: 08/10/2026 (08/10/2026, 10:40:46 UTC)
Source: CVE Database V5
Vendor/Project: cube-root
Product: directory-serve

Description

A stored cross-site scripting (XSS) vulnerability in cube-root/directory-serve through 1.3.7 allows an attacker to inject arbitrary JavaScript into the web interface by uploading a file with a crafted filename containing HTML attribute-breaking characters.

CVSS v3.1

Score 5.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected software

GitHub Actionsmore threats →ai
cube-root/directory-serve
pkg:github/cube-root/directory-serve
Affected versions
<1.3.8

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/10/2026, 11:14:10 UTC

Technical Analysis

This vulnerability in cube-root/directory-serve (through version 1.3.7) is due to improper neutralization of input during web page generation (CWE-79). Specifically, the lib/helper/html.js file fails to sanitize filenames before embedding them in HTML templates at line 28. An attacker can exploit this by uploading a file with a crafted filename containing HTML attribute-breaking characters, resulting in stored cross-site scripting. When other users view the file listing, the injected script executes in their browsers.

Potential Impact

Successful exploitation allows an attacker with upload privileges to execute arbitrary JavaScript in the context of other users' browsers who view the affected file listing. This can lead to information disclosure or session hijacking limited to the privileges of the affected users. The CVSS 3.1 base score is 5.4 (medium severity), reflecting network attack vector, low attack complexity, required privileges, user interaction, and partial confidentiality and integrity impact without availability impact.

Mitigation Recommendations

No official fix or patch is currently available for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, users should restrict file upload permissions to trusted users only and consider manual sanitization or filtering of filenames before upload or display to mitigate the risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-10T10:32:53.853Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a79ae6ebf8831d5398afd0d

Added to database: 08/10/2026, 10:56:46 UTC

Last enriched: 08/10/2026, 11:14:10 UTC

Last updated: 08/11/2026, 03:41:00 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses