Skip to content

Update cross-spawn to 7.1.2 (critical advisory) - #167

Merged
PDowney merged 1 commit into
mainfrom
cross-spawn-7.1.2
Dec 2, 2026
Merged

PDowney merged 1 commit into
mainfrom
cross-spawn-7.1.2

Conversation

@PDowney

@PDowney PDowney commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

Fixes Dependabot alert #22 (critical, GHSA-ghv9-86vm-4v8m): cross-spawn 7.0.6, which eslint 9.39.5 pulls in, allows command injection on Windows. The first fixed release is 7.1.0, and 7.1.2 is the newest.

Dependabot opened no pull request for it, so this updates the lock file with npm update cross-spawn. Only the cross-spawn entry in package-lock.json changes. It is a development dependency; the plugin ships none of it.

Local checks: npm test 10/10, lint:js, lint:biome, lint:css, lint:md, and npm audit (0 vulnerabilities).

🤖 Generated with Claude Code

cross-spawn 7.0.6, which ESLint pulls in, has a critical advisory:
command injection on Windows. 7.1.0 fixes it; 7.1.2 is the newest
release. Dependabot opened no pull request, so the lock file is updated
by hand. Development tooling only; the plugin ships none of it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Thanks for contributing to Optimizations ACE MC!

Before we review:

  • Have you tested your changes with WordPress 7.0+?
  • Are your changes compatible with PHP 8.3+?
  • Have you followed WordPress coding standards?
  • Did you update the CHANGELOG.md if needed?

Security Reminder
This plugin changes WooCommerce, WP Store Locator, and WordPress admin screens, so please ensure:

  • All user input is properly sanitized
  • All output is properly escaped
  • No security vulnerabilities are introduced

We'll review your PR soon.

@codacy-production

codacy-production Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation ✅ +0.00% coverage variation (-1.00%)
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (8f16a7a) 263 256 97.34%
Head commit (4958f8d) 263 (+0) 256 (+0) 97.34% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#167) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@PDowney
PDowney merged commit 3d96736 into main Dec 2, 2026
31 checks passed
@github-actions
github-actions Bot deleted the cross-spawn-7.1.2 branch December 2, 2026 04:26
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.

1 participant