🛡️ CVE-2026-58371

🟢 CVSS 3.1 — Low ✅ No Known Exploit CWE-79 NVD
3.1
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

SeaweedFS before 4.30 reflects the callback query parameter verbatim into responses served with Content-Type application/javascript in the shared writeJson helper (weed/server/common.go), with no callback-name validation, no X-Content-Type-Options: nosniff header, and no CORS allow-list. Every JSON endpoint that uses writeJson - including the unauthenticated master endpoints /dir/status, /dir/lookup and /cluster/status, the volume server /status, and the filer directory listing, all reachable in the default configuration (no -whiteList, no security.toml, bound to 0.0.0.0) - can therefore be loaded cross-origin via a script tag with a chosen callback, letting a third-party web page read cluster topology, volume server URLs and gRPC ports, file identifiers, and directory listings. Because the callback string is reflected at the start of the body and no nosniff header is sent, MIME-sniffing clients may also interpret the reflected content as HTML.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability none.

Weakness class

CVE-2026-58371 is classified as CWE-79: Cross-site Scripting (XSS). User-supplied data is written into a page without escaping, so attacker script runs in the browser of anyone who views it.

Affected software

CVE-2026-58371 is recorded against 1 package.

  • unknown

Timeline and source

Published on 30 June 2026 and last revised on 14 July 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

github.com
github.com
github.com
github.com
www.vulncheck.com

Details

Severity LOW
CVSS Score 3.1
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
CWE CWE-79
Public Exploit ✅ No
Source NVD
Published 2026-06-30
Updated 2026-08-11
Modified 2026-07-14
Fix URL N/A

Affected Packages

Software From version Fixed in
unknown

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2026-58371?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2026-58371 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026