← Back to scan
File as GitHub Issue repo: saleor/storefront

Push this scan report to saleor/storefront

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 GHSA-5xrq-8626-4rwp vitest: GHSA-5xrq-8626-4rwp pnpm-lock.yaml
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/ui/components/plp/use-product-filte…:103
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/app/[channel]/(main)/search/search-…:33
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/_reference/checkout-sections/Paymen…:121
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… .lintstagedrc.js:8
HIGH MINED118 Dockerfile FROM `node:20-alpine` not pinned by digest Dockerfile:1
HIGH GHSA-v2wj-q39q-566r vite: GHSA-v2wj-q39q-566r pnpm-lock.yaml
HIGH GHSA-p9ff-h696-f583 vite: GHSA-p9ff-h696-f583 pnpm-lock.yaml
HIGH GHSA-mw96-cpmx-2vgc rollup: GHSA-mw96-cpmx-2vgc pnpm-lock.yaml
HIGH GHSA-c2c7-rcm5-vvqj picomatch: GHSA-c2c7-rcm5-vvqj pnpm-lock.yaml
HIGH GHSA-7r86-cg39-jmmj minimatch: GHSA-7r86-cg39-jmmj pnpm-lock.yaml
HIGH GHSA-3ppc-4f35-3m26 minimatch: GHSA-3ppc-4f35-3m26 pnpm-lock.yaml
HIGH GHSA-23c5-xmqv-rm74 minimatch: GHSA-23c5-xmqv-rm74 pnpm-lock.yaml
HIGH GHSA-r5fr-rjxr-66jc lodash-es: GHSA-r5fr-rjxr-66jc pnpm-lock.yaml
HIGH GHSA-r5fr-rjxr-66jc lodash: GHSA-r5fr-rjxr-66jc pnpm-lock.yaml
HIGH GHSA-wf6x-7x77-mvgw immutable: GHSA-wf6x-7x77-mvgw pnpm-lock.yaml
HIGH GHSA-rf6f-7fwh-wjgh flatted: GHSA-rf6f-7fwh-wjgh pnpm-lock.yaml
HIGH GHSA-25h7-pfq9-p65f flatted: GHSA-25h7-pfq9-p65f pnpm-lock.yaml
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … src/checkout/views/saleor-checkout/conf…:33
MED SEC046 [SEC046] Client-side open redirect — window.location = server-supplied URL: Assigning win… src/_reference/checkout-sections/Paymen…:133
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DEPCUR-NPM npm package `schema-dts` is 1 major version(s) behind (1.1.2 -> 2.0.0) package.json
MED DEPCUR-NPM npm package `lint-staged` is 2 major version(s) behind (15.1.0 -> 17.0.7) package.json
MED DEPCUR-NPM npm package `husky` is 1 major version(s) behind (8.0.3 -> 9.1.7) package.json
MED DEPCUR-NPM npm package `urql` is 1 major version(s) behind (4.0.6 -> 5.0.2) package.json
MED DEPCUR-NPM npm package `react-error-boundary` is 2 major version(s) behind (4.0.13 -> 6.1.2) package.json
MED DEPCUR-NPM npm package `editorjs-html` is 1 major version(s) behind (3.4.3 -> 4.0.5) package.json
MED DEPCUR-NPM npm package `@vercel/speed-insights` is 1 major version(s) behind (1.3.1 -> 2.0.0) package.json
MED GHSA-48c2-rrv3-qjmp yaml: GHSA-48c2-rrv3-qjmp pnpm-lock.yaml
MED GHSA-58qx-3vcg-4xpx ws: GHSA-58qx-3vcg-4xpx pnpm-lock.yaml
MED GHSA-4w7w-66w2-5vf9 vite: GHSA-4w7w-66w2-5vf9 pnpm-lock.yaml
MED GHSA-v3rj-xjv7-4jmq smol-toml: GHSA-v3rj-xjv7-4jmq pnpm-lock.yaml
MED GHSA-qx2v-qp2m-jg93 postcss: GHSA-qx2v-qp2m-jg93 pnpm-lock.yaml
MED GHSA-3v7f-55p6-f55p picomatch: GHSA-3v7f-55p6-f55p pnpm-lock.yaml
MED GHSA-xxjr-mmjv-4gpg lodash-es: GHSA-xxjr-mmjv-4gpg pnpm-lock.yaml
MED GHSA-f23m-r3pf-42rh lodash-es: GHSA-f23m-r3pf-42rh pnpm-lock.yaml
MED GHSA-xxjr-mmjv-4gpg lodash: GHSA-xxjr-mmjv-4gpg pnpm-lock.yaml
MED GHSA-f23m-r3pf-42rh lodash: GHSA-f23m-r3pf-42rh pnpm-lock.yaml
MED GHSA-f886-m6hf-6m8v brace-expansion: GHSA-f886-m6hf-6m8v pnpm-lock.yaml
MED GHSA-2g4f-4pwh-qvx6 ajv: GHSA-2g4f-4pwh-qvx6 pnpm-lock.yaml
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore Dockerfile:20
MED JRN003 Frontend API reference is not matched by discovered backend routes src/lib/cache-life-profiles.ts:79
MED JRN003 Frontend API reference is not matched by discovered backend routes src/lib/cache-life-profiles.ts:14
MED JRN003 Frontend API reference is not matched by discovered backend routes next.config.js:81
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 9.6% 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 … src/checkout/graphql/checkout.graphql:271
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/checkout/graphql/checkout.graphql:270
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/checkout/graphql/checkout.graphql:269
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/checkout/graphql/checkout.graphql:268
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/checkout/graphql/checkout.graphql:210
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/graphql/CheckoutDeleteLines.graphql:2
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/app/api/cache-info/route.ts:17
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/app/api/revalidate/route.ts:311
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/app/api/revalidate/route.ts:131
LOW DEPCUR-NPM npm package `prettier-plugin-tailwindcss` is minor version(s) behind (0.5.9 -> 0.8.0) package.json
LOW DEPCUR-NPM npm package `prettier` is minor version(s) behind (3.1.1 -> 3.8.3) package.json
LOW DEPCUR-NPM npm package `autoprefixer` is minor version(s) behind (10.4.23 -> 10.5.0) package.json
LOW DEPCUR-NPM npm package `@types/react-dom` is minor version(s) behind (^19.0.0 -> 19.2.3) package.json
LOW DEPCUR-NPM npm package `@parcel/watcher` is minor version(s) behind (2.3.0 -> 2.5.6) package.json
LOW DEPCUR-NPM npm package `tailwind-merge` is minor version(s) behind (3.4.0 -> 3.6.0) package.json
LOW DEPCUR-NPM npm package `sharp` is minor version(s) behind (0.33.2 -> 0.34.5) package.json
LOW DEPCUR-NPM npm package `lodash-es` is minor version(s) behind (4.17.21 -> 4.18.1) package.json
LOW DEPCUR-NPM npm package `geist` is minor version(s) behind (1.5.1 -> 1.7.2) package.json
LOW AIC003 Duplicated implementation block across source files src/ui/components/sign-up-form.tsx:156
LOW AIC003 Duplicated implementation block across source files src/ui/components/sign-up-form.tsx:27
LOW AIC003 Duplicated implementation block across source files src/ui/components/plp/use-product-filte…:210
LOW AIC003 Duplicated implementation block across source files src/ui/components/pdp/variant-selection…:7
LOW AIC003 Duplicated implementation block across source files src/ui/components/pdp/variant-selection…:16
LOW AIC003 Duplicated implementation block across source files src/ui/components/pdp/variant-gallery-d…:17
LOW AIC003 Duplicated implementation block across source files src/ui/components/cart/actions.ts:7
LOW AIC003 Duplicated implementation block across source files src/ui/components/auth/set-password-mod…:115
LOW AIC003 Duplicated implementation block across source files src/ui/atoms/loader.tsx:8
LOW AIC003 Duplicated implementation block across source files src/checkout/views/saleor-checkout/sect…:90
LOW AIC003 Duplicated implementation block across source files src/checkout/views/saleor-checkout/conf…:87
LOW AIC003 Duplicated implementation block across source files src/checkout/views/page-not-found/page-…:14
LOW AIC003 Duplicated implementation block across source files src/checkout/graphql/codegen.ts:27
LOW AIC003 Duplicated implementation block across source files src/checkout/components/shipping-addres…:47
LOW AIC003 Duplicated implementation block across source files src/app/[channel]/(main)/products/produ…:64
LOW AIC003 Duplicated implementation block across source files src/app/[channel]/(main)/collections/[s…:12
LOW AIC003 Duplicated implementation block across source files src/app/[channel]/(main)/collections/[s…:6
LOW AIC003 Duplicated implementation block across source files src/_reference/checkout-sections/Paymen…:24
LOW AUC005 [AUC005] No authorization-focused tests detected: No test files with common authorization…
LOW WEB001 Public web app has no robots.txt robots.txt
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:3
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… src/ui/components/pdp/product-attribute…:71
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… src/app/[channel]/(main)/products/[slug…:162
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… src/app/[channel]/(main)/pages/[slug]/p…:50
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… src/app/[channel]/(main)/products/[slug…:30
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… src/app/[channel]/(main)/layout.tsx:55
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… src/app/[channel]/(main)/cart/page.tsx:131
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/ui/components/account/order-row.tsx:16
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/app/[channel]/(main)/account/layout…:22
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/app/[channel]/(main)/account/get-cu…:14
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/_reference/checkout-sections/Paymen…:58
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … src/_reference/checkout-sections/Paymen…:35
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … src/_reference/checkout-sections/Paymen…:59
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .graphqlrc.ts:31
INFO DEPCUR-NPM npm package `postcss-import` is patch version(s) behind (16.1.0 -> 16.1.1) package.json
INFO DEPCUR-NPM npm package `postcss` is patch version(s) behind (8.5.6 -> 8.5.15) package.json
INFO DEPCUR-NPM npm package `@tailwindcss/typography` is patch version(s) behind (0.5.10 -> 0.5.19) package.json
INFO DEPCUR-NPM npm package `@tailwindcss/forms` is patch version(s) behind (0.5.7 -> 0.5.11) package.json
INFO DEPCUR-NPM npm package `clsx` is patch version(s) behind (2.1.0 -> 2.1.1) package.json
Reset to top 5 108 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `saleor/storefront`

**Score: 64/100 (C-)**  ·  108 findings  ·  scanned 2026-06-05 12:47 UTC  ·  26,253 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 17 |
| MEDIUM | 38 |
| LOW | 34 |

📊 [Full filterable report](https://repobility.com/scan/f2cf9b71-195f-43af-80b6-92922d55d511/)  ·  ![scorecard](https://repobility.com/scan/f2cf9b71-195f-43af-80b6-92922d55d511/report.png?v=1780663647-s2)

### Top findings

1. **CRITICAL** `GHSA-5xrq-8626-4rwp` — vitest: GHSA-5xrq-8626-4rwp
   `pnpm-lock.yaml`
2. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `src/ui/components/plp/use-product-filters.ts:103`
3. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `src/app/[channel]/(main)/search/search-sort.tsx:33`
4. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `src/_reference/checkout-sections/PaymentSection/AdyenDropIn/createAdyenCheckout.ts:121` · A10:2021 SSRF
5. **HIGH** `SEC040` — innerHTML XSS — template literal with server-supplied data
   `.lintstagedrc.js:8` · 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/f2cf9b71-195f-43af-80b6-92922d55d511/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 4 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 'saleor/storefront' 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.

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.