Hahn-Solo Product Management
  • Dashboard
  • Technologies
  • Competitors
  • Tasks
Theme
Basic Information
Status
Open
Priority
Now
Category
Security
Repo
JSS PM
Effort
Moderate
Task ID
T-23579BAB
Details
Audit Deprecated Transitive Dependencies
Run `yarn audit` across the monorepo and triage results. Key areas: `url-parse@^1.5.10` in `sitecore-jss` core (historical CVEs including CVE-2022-0686 auth bypass, fixed in 1.5.8 — verify current pinned version is safe); `memory-cache@^0.2.0` (unmaintained, last published 2020). Document findings and remediate critical/high items.
Why
JSS ships `url-parse` and `memory-cache` as direct dependencies. `url-parse` has a history of authorization bypass CVEs. `memory-cache` has not been updated since 2020, raising supply-chain risk. Even in maintenance mode, security hygiene for shipping packages must be maintained through EOL.
Evidence
`packages/sitecore-jss/package.json` dependencies; Snyk url-parse advisories
Details
Context: The `@sitecore-jss/sitecore-jss` core package depends on `url-parse@^1.5.10` and `memory-cache@^0.2.0`. The `url-parse` package has a history of authorization bypass and SSRF vulnerabilities (CVE-2022-0686, CVE-2022-0639, CVE-2022-0512). While the current version range (^1.5.10) should resolve to a patched version (1.5.10+), this needs explicit verification. `memory-cache` was last published in 2020 and receives no maintenance — it should be evaluated for replacement or documented as a known risk.

Steps:
1. Run `yarn audit` from the monorepo root and capture output
2. For each critical/high finding, determine if the vulnerable version is actually resolved (check `yarn.lock`)
3. Verify `url-parse` resolves to >=1.5.8 (the version fixing CVE-2022-0686)
4. Evaluate `memory-cache` alternatives (e.g., `lru-cache`) — if replacement is too costly for maintenance mode, document as known technical debt with risk assessment
5. Fix any critical/high audit findings that can be resolved via version bumps
6. Document remaining unfixable findings in a SECURITY.md or issue

Acceptance criteria:
`yarn audit` output reviewed and triaged
No critical/high vulnerabilities in resolved dependency versions
`url-parse` confirmed at >=1.5.8
`memory-cache` risk documented (replacement or acceptance)

Risks: Replacing `memory-cache` could introduce regressions in caching behavior. For a maintenance-mode SDK, documenting the risk may be more appropriate than a full replacement.
Source Report
reports/product-management/jss/2026-04-05-jss-pm.md
Report date: Apr 5, 2026