Dependency advisories: npm audit is failing #15

Open
opened 2026-09-14 13:00:49 +00:00 by gitea-actions · 0 comments

npm audit --audit-level=moderate failed on the scheduled run.

The release gate does not fail on this by design — see the comment in release.yml. A static site ships built HTML, not node_modules, so a build-time advisory does not reach a visitor. This issue is how it reaches you instead.

Fix it in a normal PR, on your own schedule.

# npm audit report

astro  <=7.2.7
Severity: critical
Astro: Remote code execution through AVIF image optimization - https://github.com/advisories/GHSA-26w7-cxv4-gfx2
Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base - https://github.com/advisories/GHSA-376h-93r7-7g6f
fix available via `npm audit fix`
node_modules/astro

js-yaml  4.0.0 - 4.3.1
Severity: high
js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources - https://github.com/advisories/GHSA-2883-xcg3-v3hh
fix available via `npm audit fix`
node_modules/js-yaml

sharp  <0.35.4
Severity: high
sharp: Vulnerabilities in libheif: GHSA-g89c-p67h-r497 and GHSA-2jg2-4ch7-h545 - https://github.com/advisories/GHSA-rgj7-g3m4-5g8c
fix available via `npm audit fix`
node_modules/sharp

smol-toml  <=1.7.0
Severity: high
smol-toml: Denial of Service via malformed TOML documents - https://github.com/advisories/GHSA-7w5x-hrqm-74c2
fix available via `npm audit fix`
node_modules/smol-toml

svgo  4.0.0 - 4.0.2
Severity: high
SVGO: removeScripts allows executable links through namespace and control-character bypasses - https://github.com/advisories/GHSA-w27v-7q3p-w38r
SVGO: removeScripts incompletely sanitizes executable HTML in SVG foreignObject elements - https://github.com/advisories/GHSA-4vpr-x523-8j87
fix available via `npm audit fix`
node_modules/svgo

5 vulnerabilities (4 high, 1 critical)

To address all issues, run:
  npm audit fix
`npm audit --audit-level=moderate` failed on the scheduled run. The release gate does not fail on this by design — see the comment in `release.yml`. A static site ships built HTML, not `node_modules`, so a build-time advisory does not reach a visitor. This issue is how it reaches you instead. Fix it in a normal PR, on your own schedule. ``` # npm audit report astro <=7.2.7 Severity: critical Astro: Remote code execution through AVIF image optimization - https://github.com/advisories/GHSA-26w7-cxv4-gfx2 Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base - https://github.com/advisories/GHSA-376h-93r7-7g6f fix available via `npm audit fix` node_modules/astro js-yaml 4.0.0 - 4.3.1 Severity: high js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources - https://github.com/advisories/GHSA-2883-xcg3-v3hh fix available via `npm audit fix` node_modules/js-yaml sharp <0.35.4 Severity: high sharp: Vulnerabilities in libheif: GHSA-g89c-p67h-r497 and GHSA-2jg2-4ch7-h545 - https://github.com/advisories/GHSA-rgj7-g3m4-5g8c fix available via `npm audit fix` node_modules/sharp smol-toml <=1.7.0 Severity: high smol-toml: Denial of Service via malformed TOML documents - https://github.com/advisories/GHSA-7w5x-hrqm-74c2 fix available via `npm audit fix` node_modules/smol-toml svgo 4.0.0 - 4.0.2 Severity: high SVGO: removeScripts allows executable links through namespace and control-character bypasses - https://github.com/advisories/GHSA-w27v-7q3p-w38r SVGO: removeScripts incompletely sanitizes executable HTML in SVG foreignObject elements - https://github.com/advisories/GHSA-4vpr-x523-8j87 fix available via `npm audit fix` node_modules/svgo 5 vulnerabilities (4 high, 1 critical) To address all issues, run: npm audit fix ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Green-Tea/website#15