Skip to main content

Scalar Ninja

2 CVEs product

Monthly

CVE-2026-130593 Nov 17, 13:52 MEDIUM PATCH This Month

Stored cross-site scripting in scalar-ninja 0.1.0 through 0.3.1 (the Django Ninja integration that renders Scalar API reference pages) allows an authenticated low-privileged documentation contributor to place a crafted OpenAPI document into ScalarConfig.content or sources[].content, which get_scalar_api_reference() then embeds unescaped inside an inline <script> element, so a visitor who opens the reference page has attacker-controlled JavaScript executed in the documentation origin. The flaw carries a CVSS 4.0 base score of 5.1 (medium); it is not listed in CISA KEV and no confirmed active exploitation was reported, though the vendor advisory ships a proof-of-concept reproduction that is not independently verified as working exploit code. Exploitation is constrained: the hosting application must pass untrusted OpenAPI content into the server-side configuration and the rendered page must permit inline scripts, and a victim must view the page.

XSS Django Scalar Ninja
NVD GitHub
CVSS 4.0
5.1
EPSS
0.3%
CVE-2026-130594 Nov 17, 13:52 MEDIUM PATCH This Month

Cross-site scripting in the Scalar Ninja integration for Django Ninja (pip package scalar-ninja) lets someone who can influence the configured documentation page title execute script in the documentation origin of every visitor who opens the API reference page. Versions 0.1.0 through 0.3.1 insert ScalarConfig.title / ScalarViewer(title=...) straight into the HTML <title> element, so a value beginning with </title> terminates the title element and the following <script> is parsed and executed; the assessed vector (CVSS 4.0 base 5.1, CVSS 3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) reflects that low-privileged influence over metadata plus victim page interaction is required, and applications that hard-code a trusted static title are not exploitable. The issue is fixed in scalar-ninja 0.3.3, the upstream advisory publishes a proof-of-concept reproducer, and no active exploitation is confirmed at time of analysis.

XSS Scalar Ninja
NVD GitHub
CVSS 4.0
5.1
EPSS
0.3%
EPSS 0% CVSS 5.1
MEDIUM PATCH This Month

Stored cross-site scripting in scalar-ninja 0.1.0 through 0.3.1 (the Django Ninja integration that renders Scalar API reference pages) allows an authenticated low-privileged documentation contributor to place a crafted OpenAPI document into ScalarConfig.content or sources[].content, which get_scalar_api_reference() then embeds unescaped inside an inline <script> element, so a visitor who opens the reference page has attacker-controlled JavaScript executed in the documentation origin. The flaw carries a CVSS 4.0 base score of 5.1 (medium); it is not listed in CISA KEV and no confirmed active exploitation was reported, though the vendor advisory ships a proof-of-concept reproduction that is not independently verified as working exploit code. Exploitation is constrained: the hosting application must pass untrusted OpenAPI content into the server-side configuration and the rendered page must permit inline scripts, and a victim must view the page.

XSS Django Scalar Ninja
NVD GitHub
EPSS 0% CVSS 5.1
MEDIUM PATCH This Month

Cross-site scripting in the Scalar Ninja integration for Django Ninja (pip package scalar-ninja) lets someone who can influence the configured documentation page title execute script in the documentation origin of every visitor who opens the API reference page. Versions 0.1.0 through 0.3.1 insert ScalarConfig.title / ScalarViewer(title=...) straight into the HTML <title> element, so a value beginning with </title> terminates the title element and the following <script> is parsed and executed; the assessed vector (CVSS 4.0 base 5.1, CVSS 3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) reflects that low-privileged influence over metadata plus victim page interaction is required, and applications that hard-code a trusted static title are not exploitable. The issue is fixed in scalar-ninja 0.3.3, the upstream advisory publishes a proof-of-concept reproducer, and no active exploitation is confirmed at time of analysis.

XSS Scalar Ninja
NVD GitHub

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