Skip to content

fix(site): bump js-yaml to 4.3.1 and 3.15.1 (GHSA-5p4m-2wfm-xmqj) - #95

Merged
CybotTM merged 1 commit into
mainfrom
fix-js-yaml-ghsa-5p4m
Aug 14, 2026
Merged

fix(site): bump js-yaml to 4.3.1 and 3.15.1 (GHSA-5p4m-2wfm-xmqj)#95
CybotTM merged 1 commit into
mainfrom
fix-js-yaml-ghsa-5p4m

Conversation

@CybotTM

@CybotTM CybotTM commented Aug 14, 2026

Copy link
Copy Markdown
Member

Fixes two open Dependabot alerts for js-yaml (GHSA-5p4m-2wfm-xmqj, high severity) in site/package-lock.json: alert #23 (js-yaml >= 4.0.0, < 4.3.1) and alert #22 (js-yaml >= 3.0.0, < 3.15.1). Dependabot opened no fix PR for these (both instances are transitive devDependencies), so this bumps them manually.

Both patched versions satisfy the consumers' existing semver ranges, so the change is lockfile-only (npm update js-yaml) — no package.json change, no overrides: js-yaml 4.3.0 → 4.3.1 (consumer @11ty/eleventy, range ^4.1.1) and js-yaml 3.15.0 → 3.15.1 (consumer gray-matter, range ^3.13.1).

Verification: npm ls js-yaml --all shows only 4.3.1 and 3.15.1; npm run build (87 pages written), npm run check and npm run check:hreflang (81 pages, 0 gaps) all pass locally on Node 26 / npm lockfileVersion 3.

Resolve Dependabot alerts #22 and #23 (js-yaml, high severity) in
site/package-lock.json. Both instances are transitive devDependencies:

- js-yaml 4.3.0 -> 4.3.1 (consumer @11ty/eleventy, range ^4.1.1)
- js-yaml 3.15.0 -> 3.15.1 (consumer gray-matter, range ^3.13.1)

Both patched versions satisfy the consumers' existing semver ranges,
so only the lockfile changes (npm update js-yaml); package.json is
untouched and no overrides are needed.

Verified: npm ls js-yaml --all shows only 4.3.1 and 3.15.1;
npm run build, npm run check and npm run check:hreflang pass.

Claude-Session: https://claude.ai/code/session_01AcqcEjgwcQfp3vpnFa3gh6
Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>
Copilot AI lite review requested due to automatic review settings August 14, 2026 13:50
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/js-yaml 3.15.1 🟢 6.1
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Binary-Artifacts🟢 10no binaries found in the repo
Code-Review⚠️ 1Found 3/30 approved changesets -- score normalized to 1
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained🟢 1030 commit(s) and 27 issue activity found in the last 90 days -- score normalized to 10
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
License🟢 10license file detected
Fuzzing🟢 10project is fuzzed
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 4security policy file detected
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/js-yaml 4.3.1 🟢 6.1
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Binary-Artifacts🟢 10no binaries found in the repo
Code-Review⚠️ 1Found 3/30 approved changesets -- score normalized to 1
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained🟢 1030 commit(s) and 27 issue activity found in the last 90 days -- score normalized to 10
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
License🟢 10license file detected
Fuzzing🟢 10project is fuzzed
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 4security policy file detected
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0

Scanned Files

  • site/package-lock.json

@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@CybotTM

CybotTM commented Aug 14, 2026

Copy link
Copy Markdown
Member Author

Self-review (Copilot review unavailable — monthly quota exhausted; diff reviewed manually plus an adversarial review pass, no findings).

Checked on head cb4f30a: lockfile-only diff, 6 lines each way, moving exactly the two vulnerable transitive js-yaml instances to their patched lines (4.3.0 → 4.3.1 under @11ty/eleventy, 3.15.0 → 3.15.1 under gray-matter); both consumers' existing semver ranges cover the patched versions, so no package.json change and no overrides were needed. npm ls js-yaml --all shows only patched versions, the Eleventy build and the repo's check scripts pass, and all 10 CI checks are green. Merging closes Dependabot alerts #22 and #23 (GHSA-5p4m-2wfm-xmqj).

@CybotTM
CybotTM merged commit a3a4830 into main Aug 14, 2026
11 of 12 checks passed
@CybotTM
CybotTM deleted the fix-js-yaml-ghsa-5p4m branch August 14, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants