# GHSA-xw57-23p8-9wc5: @asymmetric-effort/specifyjs: Localhost bypass incomplete (IPv6, 0.0.0.0, 127.x range)

- Severity: Medium (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-02T19:07:22.000Z
- Modified: 2026-09-10T03:51:12.826Z
- Weaknesses: CWE-918

## Description

## Finding

**Location**: `core/src/shared/secure-fetch.ts:52-54`

The localhost exception allowed `localhost` and `127.0.0.1` but did not cover `0.0.0.0`, `[::1]` (IPv6 localhost), or the full `127.0.0.0/8` loopback range.

## Status

**Fixed in v0.2.136** — Localhost detection now covers `localhost`, `127.0.0.1`, `[::1]`, `0.0.0.0`, and the full `127.x.x.x` range.

(As written by GitHub Advisory Database.)

## Affected

- @asymmetric-effort/specifyjs (npm): before 0.2.136

## References

- <https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-xw57-23p8-9wc5> (web)
- <https://github.com/asymmetric-effort/specifyjs/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a> (web)
- <https://github.com/asymmetric-effort/specifyjs/commit/293124c51bf797c0f5cdae32981110545850a893> (web)
- <https://github.com/asymmetric-effort/specifyjs> (package)

## Sources

- GitHub Advisory Database: [GHSA-xw57-23p8-9wc5](https://github.com/advisories/GHSA-xw57-23p8-9wc5), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/GHSA-xw57-23p8-9wc5 · Whole record: https://cve.day/GHSA-xw57-23p8-9wc5.json · Rebuilt by cve.day 2026-11-25T22:56:47.103Z
