CVE-2026-72570: cube-root directory-serve - Stored Cross-Site Scripting via Malicious Filename

Published Aug 10, 2026
·
Updated

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.

Affected Software

1 affected component
cube-root/directory-serve<=1.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade cube-root/directory-serve to a version that resolves this vulnerability.

    Fixed in 1.3.7
  2. Configuration

    In lib/helper/html.js, sanitize or HTML-escape filenames before embedding them in the HTML templates (the code at line 28 currently does not sanitize filenames), to prevent stored XSS from crafted filenames.

    cube-root/directory-serve (lib/helper/html.js) filename sanitization before HTML templating (at line 28) = Enable sanitization/escaping of HTML attribute-breaking characters prior to embedding filenames into HTML templates
  3. Compensating control

    Mitigate exposure by restricting access to the directory-serve web interface and limiting which users can view file listings until the filename sanitization fix is deployed.

Event History

Aug 10, 2026
CVE Published
via MITRE·10:40 AM
Data Sourced
via MITRE·10:40 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-72570?

The severity of CVE-2026-72570 is rated as medium with a score of 5.4.

2

How do I fix CVE-2026-72570?

Fix CVE-2026-72570 by updating to the latest version of cube-root/directory-serve that addresses the stored XSS vulnerability.

3

What type of vulnerability is CVE-2026-72570?

CVE-2026-72570 is a stored cross-site scripting (XSS) vulnerability.

4

What impact does CVE-2026-72570 have on web applications?

CVE-2026-72570 allows an attacker to inject arbitrary JavaScript into the web interface, potentially compromising user data.

5

In which versions of cube-root/directory-serve is CVE-2026-72570 present?

CVE-2026-72570 is present in cube-root/directory-serve version 1.3.7.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203