← Back to scan
File as GitHub Issue repo: shadcn-ui/ui

Push this scan report to shadcn-ui/ui

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

innerHTML XSS — template literal with server-supplied data

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED116 [MINED116] Workflow uses `secrets.RELEASE_GPG_PRIVATE_KEY` on a `pull_request` trigger: T… .github/workflows/release.yml:163
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… apps/v4/app/og/route.tsx:39
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… apps/v4/app/layout.tsx:22
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… apps/v4/app/(app)/docs/[[...slug]]/page…:47
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… apps/v4/examples/base/scroll-area-demo.…:6
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… apps/v4/app/(create)/init/md/build-inst…:25
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… apps/v4/app/(app)/create/components/des…:44
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … apps/v4/app/(app)/create/hooks/use-lock…:37
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … apps/v4/app/(app)/create/hooks/use-hist…:89
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … apps/v4/app/(app)/(styles)/sera/media-l…:79
HIGH DKR014 Dockerfile copies the entire context without .dockerignore templates/react-router-monorepo/apps/we…:12
HIGH DKR014 Dockerfile copies the entire context without .dockerignore templates/react-router-monorepo/apps/we…:2
HIGH DKR014 Dockerfile copies the entire context without .dockerignore templates/react-router-app/Dockerfile:12
HIGH DKR014 Dockerfile copies the entire context without .dockerignore templates/react-router-app/Dockerfile:2
HIGH MINED115 [MINED115] Action `actions/github-script` pinned to mutable ref `@v7`: `uses: actions/git… .github/workflows/prerelease-comment.yml:63
HIGH MINED115 [MINED115] Action `marocchino/sticky-pull-request-comment` pinned to mutable ref `@v2`: `… .github/workflows/prerelease-comment.yml:50
HIGH MINED115 [MINED115] Action `actions/github-script` pinned to mutable ref `@v7`: `uses: actions/git… .github/workflows/prerelease-comment.yml:20
HIGH MINED115 [MINED115] Action `oven-sh/setup-bun` pinned to mutable ref `@v2`: `uses: oven-sh/setup-b… .github/workflows/test.yml:43
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v3`: `uses: actions/cache@v3` r… .github/workflows/test.yml:35
HIGH MINED115 [MINED115] Action `pnpm/action-setup` pinned to mutable ref `@v4`: `uses: pnpm/action-set… .github/workflows/test.yml:23
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v3`: `uses: actions/setup-… .github/workflows/test.yml:20
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v3`: `uses: actions/checkout… .github/workflows/test.yml:15
HIGH MINED118 [MINED118] Dockerfile FROM `node:20-alpine` not pinned by digest: `FROM node:20-alpine` r… templates/react-router-monorepo/apps/we…:16
HIGH MINED118 [MINED118] Dockerfile FROM `node:20-alpine` not pinned by digest: `FROM node:20-alpine` r… templates/react-router-monorepo/apps/we…:10
HIGH MINED118 [MINED118] Dockerfile FROM `node:20-alpine` not pinned by digest: `FROM node:20-alpine` r… templates/react-router-monorepo/apps/we…:5
HIGH MINED118 [MINED118] Dockerfile FROM `node:20-alpine` not pinned by digest: `FROM node:20-alpine` r… templates/react-router-monorepo/apps/we…:1
HIGH MINED118 [MINED118] Dockerfile FROM `node:20-alpine` not pinned by digest: `FROM node:20-alpine` r… templates/react-router-app/Dockerfile:16
HIGH MINED118 [MINED118] Dockerfile FROM `node:20-alpine` not pinned by digest: `FROM node:20-alpine` r… templates/react-router-app/Dockerfile:10
HIGH MINED118 [MINED118] Dockerfile FROM `node:20-alpine` not pinned by digest: `FROM node:20-alpine` r… templates/react-router-app/Dockerfile:5
HIGH MINED118 [MINED118] Dockerfile FROM `node:20-alpine` not pinned by digest: `FROM node:20-alpine` r… templates/react-router-app/Dockerfile:1
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… apps/v4/registry/bases/base/blocks/sign…:36
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… apps/v4/registry/bases/base/blocks/sign…:30
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… apps/v4/registry/bases/base/blocks/sign…:31
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … apps/v4/registry/new-york-v4/blocks/sid…:195
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … apps/v4/registry/bases/radix/blocks/sid…:242
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … apps/v4/registry/bases/base/blocks/side…:242
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. apps/v4/app/layout.tsx:83
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… apps/v4/components/open-in-v0-button.tsx:22
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… apps/v4/components/docs-copy-page.tsx:91
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… apps/v4/app/(app)/create/components/v0-…:47
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … .github/version-script-next.js:10
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKR017 Dockerfile installs dependencies after copying the full source tree templates/react-router-monorepo/apps/we…:4
MED DKR017 Dockerfile installs dependencies after copying the full source tree templates/react-router-app/Dockerfile:4
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR001 Docker final stage has no non-root USER templates/react-router-monorepo/apps/we…:17
MED DKR001 Docker final stage has no non-root USER templates/react-router-app/Dockerfile:17
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 0.0% of discovered r…
MED WEB015 Public web app has no Content Security Policy index.html
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/v4/app/(app)/llm/[[...slug]]/route…:25
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/v4/app/r/registries.json/route.ts:7
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/v4/app/(create)/init/md/route.ts:8
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/v4/app/(create)/init/v0/route.ts:9
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/v4/app/(create)/init/route.ts:14
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … apps/v4/app/rss.xml/route.ts:8
LOW AIC003 Duplicated implementation block across source files apps/v4/registry/bases/base/blocks/prev…:4
LOW AIC003 Duplicated implementation block across source files apps/v4/registry/bases/base/blocks/prev…:18
LOW AIC003 Duplicated implementation block across source files apps/v4/registry/bases/base/blocks/prev…:21
LOW AIC003 Duplicated implementation block across source files apps/v4/registry/bases/base/blocks/logi…:28
LOW AIC003 Duplicated implementation block across source files apps/v4/registry/bases/base/blocks/logi…:4
LOW AIC003 Duplicated implementation block across source files apps/v4/registry/bases/base/blocks/logi…:9
LOW AIC003 Duplicated implementation block across source files apps/v4/registry/bases/base/blocks/logi…:65
LOW AIC003 Duplicated implementation block across source files apps/v4/registry/bases/base/blocks/logi…:1
LOW AIC003 Duplicated implementation block across source files apps/v4/registry/bases/base/blocks/dash…:23
LOW AIC003 Duplicated implementation block across source files apps/v4/lib/rehype.ts:12
LOW AIC003 Duplicated implementation block across source files apps/v4/hooks/use-copy-to-clipboard.ts:3
LOW AIC003 Duplicated implementation block across source files apps/v4/components/theme-provider.tsx:6
LOW AIC003 Duplicated implementation block across source files apps/v4/components/mode-switcher.tsx:30
LOW AIC003 Duplicated implementation block across source files apps/v4/components/mobile-nav.tsx:16
LOW AIC003 Duplicated implementation block across source files apps/v4/components/docs-page-links.tsx:119
LOW AIC003 Duplicated implementation block across source files apps/v4/components/cards/team-members.t…:3
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(view)/view/[style]/[name]/…:40
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(create)/init/md/build-inst…:80
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(app)/create/components/the…:57
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(app)/colors/layout.tsx:15
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(app)/charts/layout.tsx:41
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(app)/charts/layout.tsx:17
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(app)/blocks/layout.tsx:16
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(app)/(styles)/sera/media-l…:2
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(app)/(styles)/sera/media-l…:1
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(app)/(styles)/sera/media-l…:17
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(app)/(styles)/sera/media-l…:9
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(app)/(styles)/sera/media-l…:2
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(app)/(root)/cards/transfer…:1
LOW AIC003 Duplicated implementation block across source files apps/v4/app/(app)/(root)/cards/skeleton…:24
LOW WEB001 Public web app has no robots.txt robots.txt
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. apps/v4/registry/icons/create-icon-load…:16
INFO MINED053 [MINED053] Placeholder Default Username: [email protected] / [email protected] / admin/admin… apps/v4/registry/bases/radix/blocks/pre…:57
INFO MINED053 [MINED053] Placeholder Default Username: [email protected] / [email protected] / admin/admin… apps/v4/registry/bases/base/blocks/prev…:57
INFO MINED074 [MINED074] Ai Tell Fake Citation: Plausible-looking but non-existent URLs (e.g., docs.exa… apps/v4/registry/bases/base/blocks/prev…:32
INFO MINED074 [MINED074] Ai Tell Fake Citation: Plausible-looking but non-existent URLs (e.g., docs.exa… apps/v4/examples/radix/input-badge.tsx:17
INFO MINED074 [MINED074] Ai Tell Fake Citation: Plausible-looking but non-existent URLs (e.g., docs.exa… apps/v4/examples/base/input-badge.tsx:17
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… apps/v4/registry/bases.ts:13
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… apps/v4/app/rss.xml/route.ts:28
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… apps/v4/app/(app)/create/components/his…:47
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… apps/v4/app/(app)/create/components/bas…:55
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… apps/v4/app/(app)/create/components/act…:67
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… apps/v4/app/(app)/(root)/cards/skeleton…:22
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… apps/v4/app/(app)/(root)/cards/skeleton…:36
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… apps/v4/app/(app)/(root)/cards/skeleton…:22
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … apps/v4/app/(app)/(styles)/sera/compone…:91
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … apps/v4/app/(app)/(root)/cards/skeleton…:22
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … apps/v4/app/(app)/(root)/cards/index.tsx:82
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … apps/v4/app/(app)/examples/tasks/data/s…:20
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .github/version-script-prerelease.js:8
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .github/version-script-next.js:12
Reset to top 5 109 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `shadcn-ui/ui`

**Score: 71/100 (B)**  ·  133 findings  ·  scanned 2026-06-05 05:19 UTC  ·  504,834 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 29 |
| MEDIUM | 26 |
| LOW | 33 |

📊 [Full filterable report](https://repobility.com/scan/79e0d07d-ac62-4a8b-8420-9f7a9910ca4a/)  ·  ![scorecard](https://repobility.com/scan/79e0d07d-ac62-4a8b-8420-9f7a9910ca4a/report.png?v=1780636797-s2)

### Top findings

1. **CRITICAL** `MINED116` — Workflow uses `secrets.RELEASE_GPG_PRIVATE_KEY` on a `pull_request` trigger
   `.github/workflows/release.yml:163` · ✓ Repobility
2. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `apps/v4/app/og/route.tsx:39` · A10:2021 SSRF
3. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `apps/v4/app/layout.tsx:22` · A10:2021 SSRF
4. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `apps/v4/app/(app)/docs/[[...slug]]/page.tsx:47` · A10:2021 SSRF
5. **HIGH** `SEC040` — innerHTML XSS — template literal with server-supplied data
   `apps/v4/examples/base/scroll-area-demo.tsx:6` · CWE-79 · A03:2021 Injection (XSS)

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/79e0d07d-ac62-4a8b-8420-9f7a9910ca4a/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 9 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'shadcn-ui/ui' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
44/142 findings (31%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.