CVE-2026-130594

Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via ScalarConfig title

Published Nov 17, 2026 CVSS 4.0 · 5.1 Medium EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability in Scalar scalar‑ninja is a cross‑site scripting flaw that allows an attacker to inject arbitrary JavaScript by supplying unescaped title values in a ScalarConfig file. By closing the title element with </title> and appending a <script> tag, the attacker can embed code that runs in the documentation origin for any user who views the affected API reference pages. The flaw is a CWE‑79.

Affected Systems

Scalar‑ninja versions beginning with 0.1.0 up to, but not including, 0.3.3 retain the vulnerable code paths. The product is provided by Scalar under the scalar‑ninja branding. Upgrading to version 0.3.3 or higher removes the insecure title handling and resolves the issue.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate level of severity, reflecting the requirement for an attacker to influence configuration data but granting only client‑side script execution. The EPSS score is currently unavailable, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no documented large‑scale exploitation yet. Because the flaw depends on the presence of untrusted title content in a configuration file, the likely attack vector is an attacker who can modify or replace that configuration before it is served to visitors of the API documentation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade scalar‑ninja to version 0.3.3 or later.
  • Sanitize or escape all title fields in custom ScalarConfig files prior to deployment.
  • If an upgrade is not immediately possible, remove or neutralize any titles that include untrusted input and consider applying a Content Security Policy to the documentation pages as a mitigation.

Generated by OpenCVE AI on November 17, 2026 at 16:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.
Title Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via ScalarConfig title
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 17, 2026, 1:52 PM
Reserved
Nov 17, 2026, 12:32 PM
Status
Received
Published
Nov 17, 2026, 2:17 PM
Modified
Nov 17, 2026, 2:17 PM