HackerFeeds
All CVEs

CVE-2026-130593: Scalar scalar-ninja Cross-site Scripting

MEDIUM5.4

Published 2026-11-17 · Updated 2026-11-24 · Source disclosure@vulncheck.com

Not known to be exploited · medium severity — update Scalar scalar-ninja to 0.3.3 or later on your normal schedule.

What to do

  1. Update Scalar scalar-ninja to version 0.3.3 or later. Versions from 0.1.0 up to, but not including, 0.3.3 are affected.
  2. Until it is patched, restrict network access to Scalar scalar-ninja and review which accounts can log in to it.
  3. Apply a restrictive Content-Security-Policy and mark session cookies HttpOnly to limit what an injected script can do.
  4. Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.

Affected and fixed versions

ProductAffectedFixed in
Scalar scalar-ninja≥ 0.1.0, < 0.3.30.3.3

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: confidentiality and integrity are rated low. A successful attack can affect components beyond the vulnerable one.

CVSS 3.1 metrics for CVE-2026-130593
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredLowThe attacker needs an ordinary low-privileged account.
User interactionRequiredA victim has to take an action, such as opening a link or file.
ConfidentialityLowPartial loss of confidentiality.
IntegrityLowPartial loss of integrity.
AvailabilityNoneNo effect on availability.

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weakness: Cross-site Scripting

An attacker can make script run in another user's browser in the context of the affected site, allowing session theft or actions taken as that user.

Classified as CWE-79.

Description

Scalar scalar-ninja 0.1.0 before 0.3.3 contains a cross-site scripting vulnerability in get_scalar_api_reference() that embeds unescaped OpenAPI content inside an inline script element. Attackers can supply an OpenAPI document containing a </script><script> sequence in content or sources to execute scripts in the documentation origin for every user viewing the API reference.

Advisory text as published in the NVD record.

View on NVD