CVE-2026-130594
CVE-2026-130594 · Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via ScalarConfig title
CVSS 5.1 · Medium · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- scalar-ninjaUpdate to 0.3.3
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
scalar-ninja
- Versions
- ≥ 0.1.0, < 0.3.3: Affected (semver)
Update to 0.3.3
Original sources
- https://github.com/scalar/scalar/security/advisories/GHSA-p42g-h3g9-2m3c
- https://github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264
- https://pypi.org/project/scalar-ninja/0.3.3/
- https://github.com/scalar/scalar/blob/4fbffbc6c2ece137f15ded6cfaae785caa7098d8/integrations/django-ninja/scalar_ninja/scalar_ninja.py#L508
- https://www.vulncheck.com/advisories/scalar-scalar-ninja-0.1.0-before-0.3.3-xss-via-scalarconfig-title
- https://nvd.nist.gov/vuln/detail/CVE-2026-130594