Skip to main content

SpecifyJS CVE-2026-50290

| EUVDEUVD-2026-64123 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-02 https://github.com/asymmetric-effort/specifyjs GHSA-93q6-wwjh-jc6h
5.3
CVSS 4.0 · Vendor: https://github.com/asymmetric-effort/specifyjs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Supply unicode-escaped CSS payload as user input
  2. Delivery
    Application passes input through SpecifyJS render-to-string
  3. Exploit
    Regex sanitizer fails to match obfuscated pattern
  4. Install
    Malicious CSS emitted into server-rendered HTML
  5. C2
    Victim loads page in IE6-IE10
  6. Execute
    Browser evaluates CSS expression()
  7. Impact
    JavaScript executes in victim browser context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two concurrent conditions: first, attacker-controlled input must reach the CSS value sanitization path in render-to-string.ts - meaning the application uses SpecifyJS to render user-supplied or externally sourced CSS values server-side; second, the victim's browser must be Internet Explorer 6, 7, 8, 9, or 10, as CSS expression() evaluation is an IE-proprietary feature not implemented in any modern browser (Chrome, Firefox, Safari, Edge). These legacy IE versions are end-of-life and account for a negligible fraction of current browser traffic. No authentication requirement can be inferred without a CVSS vector; whether the CSS injection path is reachable by unauthenticated users depends entirely on the consuming application's design. The key limiting factor is the mandatory legacy browser requirement - without it, the injected CSS is inert in all modern clients.

Impact

No CVSS vector or EPSS score was provided for this CVE, so all metric assessments are inferred from the description. The absence of a CVSS score and KEV listing, combined with the explicit vendor-acknowledged mitigating factor that exploitation only functions in IE6-IE10, places real-world risk significantly below what the CWE-79 classification alone would suggest. IE6-IE10 are end-of-life browsers with negligible market share in modern enterprise and consumer environments. There is no public exploit code identified and no evidence of active exploitation. The vulnerability requires that attacker-controlled input reach the CSS sanitization path, which is an additional prerequisite not guaranteed by default configurations. For organizations whose user base could include legacy IE users - certain government, industrial, or kiosk environments - the risk warrants patching. For all others, the threat is theoretical given browser prerequisites.

Exploit ScenarioDerived

An attacker submits input containing a CSS value with a unicode-obfuscated expression such as '\65xpression(alert(document.cookie))' or the comment-interleaved form 'exp/**/ression(fetch(attacker.com))'. SpecifyJS's render-to-string function processes this value, the regex sanitizer fails to recognize the obfuscated pattern, and the raw CSS is emitted into the server-rendered HTML. A victim using Internet Explorer 6-10 loads the page, the legacy browser normalizes and evaluates the CSS expression, and the attacker's JavaScript executes in the victim's browser context.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 02, 2026

CSS injection sanitization bypass in SpecifyJS's server-side render-to-string function exposes applications to cross-site scripting when the library processes attacker-controlled CSS values. The sanitizer in core/src/server/render-to-string.ts (lines 307-311) used naive regex to block patterns like 'expression(' and 'url(javascript:' without first normalizing the input, allowing bypass via CSS unicode escapes (e.g., \65xpression()), null bytes, or CSS comments (e.g., exp/**/ression()). Critically, the XSS payload only executes in legacy browsers (IE6-IE10), which substantially limits real-world impact. No public exploit or CISA KEV listing has been identified at time of analysis.

RemediationAI

Upgrade @asymmetric-effort/specifyjs to v0.2.136 or later, which corrects the sanitization logic by normalizing CSS unicode escapes and stripping CSS comments before pattern matching. The patch commit is available at https://github.com/asymmetric-effort/specifyjs/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a and the full advisory is at https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-93q6-wwjh-jc6h. If immediate upgrade is not possible, a practical compensating control is to enforce a Content Security Policy (CSP) header that disables inline styles ('style-src' without 'unsafe-inline'), which would block CSS expression injection payloads regardless of sanitizer bypasses - though this may break legitimate inline styling in the application. Additionally, given that exploitation is confirmed only in IE6-IE10, blocking access from those user-agent strings at the perimeter or load balancer provides a targeted, low-impact workaround.

Affected VersionsENISA

specifyjs < 0.2.136

Affected Packages

npm @asymmetric-effort/specifyjs fix: 0.2.136
euvd specifyjs fix: 0.2.136

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SpecifyJS is an npm package (@asymmetric-effort/specifyjs) that provides server-side rendering via a render-to-string function. The vulnerable code at core/src/server/render-to-string.ts:307-311 performed CSS value sanitization using simple regular expressions to detect and strip known dangerous CSS patterns. The flaw is a classic input normalization failure (CWE-79, Improper Neutralization of Input During Web Page Generation): the sanitizer matched literal string forms of dangerous patterns but did not account for equivalent CSS representations such as unicode escape sequences (\65xpression( decodes to 'expression('), null byte injection, or CSS comment interleaving (exp/**/ression()). All three bypass techniques are legal CSS syntax that certain parsers normalize before evaluation. The fix in v0.2.136 corrects this by normalizing unicode escapes and stripping comments prior to pattern matching, and expands coverage to include 'behavior:', '-moz-binding', and '-o-link' - additional IE-era CSS vectors for arbitrary code execution.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/asymmetric-effort/specifyjs) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.7 MEDIUM

AC:H reflects the mandatory legacy browser prerequisite; S:C applies because XSS crosses from server rendering into the victim browser context; A:N as availability is unaffected.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (https://github.com/asymmetric-effort/specifyjs).

CVSS VectorVendor: https://github.com/asymmetric-effort/specifyjs

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Aug 21, 2026 - 20:22 NVD
5.3 (MEDIUM)

DescriptionCVE.org

Finding

Location: core/src/server/render-to-string.ts:307-311

CSS 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().

Mitigating Factor: These CSS injection vectors only work in legacy browsers (IE6-IE10). SpecifyJS targets modern browsers.

Status

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Rare
obscure npm package from small vendor, minimal known production deployments
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy