# osv-scanner configuration. Read by .gitea/workflows/security.yml, which passes # --config when this file exists. # # The two entries below are the SheetJS advisories. They are ignored because the # fix is not obtainable from npm at any version: SheetJS stopped publishing to # the npm registry after 0.18.5 and ships 0.19+ from cdn.sheetjs.com, so both # GHSA records have `introduced: 0` and no `fixed` event (verified against # api.osv.dev 2026-11-15). This repo consumes `xlsx` as a URL dependency, # https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz, and 0.20.3 already # contains both fixes: # # GHSA-4r6h-8v6p-xvw6 (CVE-2023-30533, prototype pollution) — fixed upstream in 0.19.3 # GHSA-5pgg-2g8v-p4x9 (CVE-2024-22363, ReDoS) — fixed upstream in 0.20.2 # # So the scanner is reporting a version-resolution artefact, not a live defect. # The entries still expire: if we ever pin an older tarball, or migrate to a # maintained parser, this file must be revisited rather than inherited. Owner: # admin/accounted maintainers. Expiry is deliberate; the nightly scan re-reports # both advisories the day it passes. # # Deliberately NOT in scope here: the prototype-pollution and ReDoS classes are # about parsing untrusted workbooks, and lib/import/* does exactly that. The # mitigations are upstream (both fixed in our pinned version) — do not treat # this file as permission to accept unfixed parser CVEs. [[IgnoredVulns]] id = "GHSA-4r6h-8v6p-xvw6" effectiveUntil = 2027-05-15 reason = "CVE-2023-30533 fixed upstream in SheetJS 0.19.3; we pin 0.20.3 from cdn.sheetjs.com. No npm release carries the fix, so no version can satisfy the advisory." [[IgnoredVulns]] id = "GHSA-5pgg-2g8v-p4x9" effectiveUntil = 2027-05-15 reason = "CVE-2024-22363 fixed upstream in SheetJS 0.20.2; we pin 0.20.3 from cdn.sheetjs.com. No npm release carries the fix, so no version can satisfy the advisory."