{"id":"GHSA-93q6-wwjh-jc6h","summary":"@asymmetric-effort/specifyjs: CSS expression sanitization is bypassable in renderToString","details":"## Finding\n\n**Location**: `core/src/server/render-to-string.ts:307-311`\n\nCSS value sanitization stripped `expression(` and `url(javascript:` using simple regex, but could be bypassed with CSS unicode escapes (`\\65xpression(`), null bytes, or CSS comments (`exp/**/ression(`).\n\n**Mitigating Factor**: These CSS injection vectors only work in legacy browsers (IE6-IE10). SpecifyJS targets modern browsers.\n\n## Status\n\n**Fixed in v0.2.136** — CSS sanitization now normalizes unicode escapes and strips CSS comments before pattern matching. Also checks for `behavior:`, `-moz-binding`, and `-o-link` patterns.","aliases":["CVE-2026-50290"],"modified":"2026-09-10T03:51:11.288040472Z","published":"2026-07-02T19:08:45Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-07-02T19:08:45Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-93q6-wwjh-jc6h"},{"type":"WEB","url":"https://github.com/asymmetric-effort/specifyjs/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a"},{"type":"PACKAGE","url":"https://github.com/asymmetric-effort/specifyjs"}],"affected":[{"package":{"name":"@asymmetric-effort/specifyjs","ecosystem":"npm","purl":"pkg:npm/%40asymmetric-effort/specifyjs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.136"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-93q6-wwjh-jc6h/GHSA-93q6-wwjh-jc6h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}