Cross-site scripting in Scalar scalar-ninja via ScalarConfig title
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
Scalar scalar-ninja from 0.1.0 before 0.3.3 contains a cross-site scripting flaw (CWE-79) because it does not escape ScalarConfig title values. An attacker who controls title metadata can close the title element and inject a script that runs in the documentation origin for API reference visitors. The CVSS 4.0 vector requires low privileges and user interaction over the network.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
Description from the CNA
Scalar scalar-ninja 0.1.0 before 0.3.3 contains a cross-site scripting vulnerability that allows attackers to inject scripts by supplying unescaped ScalarConfig title values. Attackers controlling title metadata can close the title element with </title> and inject a script tag that executes in the documentation origin for API reference visitors.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade scalar-ninja to version 0.3.3 or later, which fixes the flaw. The sources list no fixed version for scalar-ninja beyond 0.3.3.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
- Fix · CNA scalar-ninja (Scalar) Fixed in 0.3.3
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
scalar-ninja 0.3.3
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-92539 Cross-site scripting in Scalar scalar-ninja API referencePriority LOW 23
Timeline
- 2026-11-17 Threatist record created from CVE-2026-130594
- 2026-11-17 Alias added: GHSA-2qfj-gcwx-47pc
- 2026-11-18 CISA SSVC decision points changed
References
More Scalar vulnerabilities
- TI-2026-94989 Code injection in @scalar/typebox via TypeCompiler schema strings CVSS 4.0HIGH 8.5
- TI-2026-92539 Cross-site scripting in Scalar scalar-ninja API reference CVSS 4.0MEDIUM 5.1
Sources
- CVE-2026-130594 · CVE Program
- CVE-2026-130594 · NVD
- FIRST EPSS
- GHSA-2qfj-gcwx-47pc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences