Skip to content

Update symfony/filesystem to 7.4.23 for GHSA-6prc-h956-hxjq - #798

Merged
ilicfilip merged 1 commit into
developfrom
filip/symfony-filesystem-advisory
Nov 5, 2026
Merged

ilicfilip merged 1 commit into
developfrom
filip/symfony-filesystem-advisory

Conversation

@ilicfilip

Copy link
Copy Markdown
Collaborator

The "Security check" job fails on every PR (e.g. #797) since GHSA-6prc-h956-hxjq was published: symfony/filesystem 7.4.11 treats any prefix before :// as a root, so paths can escape their base directory. Fixed in 7.4.23.

Only composer.lock changes. symfony/filesystem is a dev-only dependency (via composer/composer and php-cs-fixer); nothing shipped to sites changes. composer update symfony/filesystem --with-dependencies also moved:

Package From To
symfony/filesystem 7.4.11 7.4.23
symfony/process 7.4.13 7.4.22
symfony/deprecation-contracts 3.7.0 3.8.1
symfony/polyfill-mbstring 1.38.1 1.43.3
symfony/polyfill-php80 1.37.0 1.43.0

Not in this PR: composer audit also lists five advisories for composer/composer 2.10.0 (dev-only, via wp-cli-bundle; fixed in 2.10.3). The CI checker doesn't flag those today.

🤖 Generated with Claude Code

The Security check job fails on every PR since the advisory was published:
symfony/filesystem 7.4.11 treats any prefix before "://" as a root, so
paths can escape their base directory. Fixed in 7.4.23. It's a dev-only
dependency; `composer update symfony/filesystem --with-dependencies` also
moved deprecation-contracts, polyfill-mbstring, polyfill-php80 and process
to their latest compatible patch/minor releases.

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

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Test merged PR on Playground
Test this pull request on the Playground
or download the zip

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor
Composer package changes
Dev Packages Operation Base Target
symfony/deprecation-contracts Upgraded v3.7.0 v3.8.1
symfony/filesystem Upgraded v7.4.11 v7.4.23
symfony/polyfill-mbstring Upgraded v1.38.1 v1.43.3
symfony/polyfill-php80 Upgraded v1.37.0 v1.43.0
symfony/process Upgraded v7.4.13 v7.4.22

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

🔍 WordPress Plugin Check Report

⚠️ Status: Passed with warnings

📊 Report

🎯 Total Issues ❌ Errors ⚠️ Warnings
10 0 10

⚠️ Warnings (10)

📁 classes/suggested-tasks/providers/class-content-review.php (4 warnings)
📍 Line 🔖 Check 💬 Message
232 WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://docs.wpvip.com/databases/optimize-queries/using-post__not_in/ for more information.
377 WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://docs.wpvip.com/databases/optimize-queries/using-post__not_in/ for more information.
381 WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://docs.wpvip.com/databases/optimize-queries/using-post__not_in/ for more information.
388 WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://docs.wpvip.com/databases/optimize-queries/using-post__not_in/ for more information.
📁 classes/suggested-tasks/data-collector/class-unpublished-content.php (1 warning)
📍 Line 🔖 Check 💬 Message
103 WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://docs.wpvip.com/databases/optimize-queries/using-post__not_in/ for more information.
📁 classes/activities/class-query.php (2 warnings)
📍 Line 🔖 Check 💬 Message
71 PluginCheck.Security.DirectDB.UnescapedDBParameter Unescaped parameter $table_name used in $wpdb->query()\n$table_name assigned unsafely at line 58.
163 PluginCheck.Security.DirectDB.UnescapedDBParameter Unescaped parameter $where_args used in $wpdb->get_results()\n$where_args assigned unsafely at line 153.
📁 classes/suggested-tasks/data-collector/class-terms-without-description.php (1 warning)
📍 Line 🔖 Check 💬 Message
108 PluginCheck.Security.DirectDB.UnescapedDBParameter Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 106.
📁 classes/suggested-tasks/data-collector/class-terms-without-posts.php (1 warning)
📍 Line 🔖 Check 💬 Message
120 PluginCheck.Security.DirectDB.UnescapedDBParameter Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 118.
📁 classes/suggested-tasks/data-collector/class-yoast-orphaned-content.php (1 warning)
📍 Line 🔖 Check 💬 Message
111 PluginCheck.Security.DirectDB.UnescapedDBParameter Unescaped parameter $query used in $wpdb->get_row()\n$query assigned unsafely at line 98.

🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

✅ Code Coverage Report

Metric Value
Total Coverage 34.30% 📉
Base Coverage 34.30%
Difference 📈 0.00%

⚠️ Coverage below recommended 40% threshold

🎉 Great job maintaining/improving code coverage!

ℹ️ About this report
  • All tests run in a single job with Xdebug coverage
  • Security tests excluded from coverage to prevent output issues
  • Coverage calculated from line coverage percentages

@ilicfilip
ilicfilip merged commit f8dc906 into develop Nov 5, 2026
23 checks passed
@ilicfilip
ilicfilip deleted the filip/symfony-filesystem-advisory branch November 5, 2026 10:04
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