Skip to content
OpenAdvisories

Package · npm

@asymmetric-effort/specifyjs

7 known vulnerabilities.

7 results · Feed

  • Medium 5.3

    @asymmetric-effort/specifyjs: CSS expression sanitization is bypassable in renderToString

    SpecifyJS is a declarative TypeScript user interface framework. Prior to version 0.2.136, CSS value sanitization stripped `expression(` and `url(javascript:` using simple regex, but could be bypassed with CSS unicode escapes (`\65xpression(`), null bytes, or …

  • High 8.7

    @asymmetric-effort/specifyjs: URL parse failure silently allows request

    SpecifyJS is a declarative TypeScript user interface framework. Prior to version 0.2.136, when `new URL()` throws a parse error, the `assertSecureUrl` function returned without throwing, silently allowing the request to proceed without HTTPS validation. Start…

  • Medium —

    @asymmetric-effort/specifyjs: No redirect target validation in secureFetch

    ## Finding **Location**: `core/src/shared/secure-fetch.ts` `assertSecureUrl` validated only the initial request URL. The `fetch()` API follows redirects by default (up to 20 hops). A request to a valid `https://` URL could redirect to `http://internal-service…

  • Medium —

    @asymmetric-effort/specifyjs: `data:` URI allowed without size restriction

    ## Finding **Location**: `core/src/shared/secure-fetch.ts:33-35` `data:` URIs were allowed without any restriction. While `data:` URIs don't make network requests, they can be used for memory exhaustion via very large data URIs. ## Status **Fixed in v0.2.136*…

  • Medium —

    @asymmetric-effort/specifyjs: Localhost bypass incomplete (IPv6, 0.0.0.0, 127.x range)

    ## 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** — Loc…

  • Medium —

    @asymmetric-effort/specifyjs: Production console warnings may leak internal framework state

    ## Finding **Location**: `core/src/core/scheduler.ts:23`, `core/src/hooks/dispatcher.ts:100`, `core/src/client/graphql.ts:71` Several `console.warn` calls are not gated behind `__DEV__` and will fire in production builds, potentially exposing internal framewo…

  • Medium —

    @asymmetric-effort/specifyjs: GraphQL gql tag allows metacharacter injection

    ## Finding **Location**: `core/src/client/graphql.ts:66-80` The `gql` template tag function warned about interpolated values containing GraphQL metacharacters (`{}():`) but still concatenated them into the query string, enabling potential GraphQL injection. #…