Skip to content

[haxcms-php] symfony/yaml 7.4.23, vendor matches composer.lock again - #808

Merged
btopro merged 1 commit into
masterfrom
fix/symfony-yaml-advisory
Nov 14, 2026
Merged

btopro merged 1 commit into
masterfrom
fix/symfony-yaml-advisory

Conversation

@btopro

@btopro btopro commented Nov 14, 2026

Copy link
Copy Markdown
Member

From the security sweep: composer.lock pinned symfony/yaml v7.4.18, which has a parser denial-of-service advisory fixed in 7.4.23 (GHSA-hwfg-qwvh-2wfx). The backend parses supplied YAML in the YAML-to-JSON route and the Quarto / VitePress importers. The committed vendor/ was also five packages behind the lock.

What changed

  • system/backend/php/composer.lock: symfony/yaml v7.4.18 → v7.4.23. Only that entry's version, commit reference, archive URL and date change.
  • system/backend/php/vendor/: now matches the lock.
    • symfony/yaml 7.4.14 → 7.4.23
    • phpoffice/phpspreadsheet 5.9.0 → 5.10.0
    • symfony/polyfill-mbstring 1.38.1 → 1.43.3
    • symfony/polyfill-php80 1.37.0 → 1.43.0
    • nikic/php-parser 5.8.0 → 5.9.0 (dev)

No composer.json change, no haxcms-nodejs mirror needed (dependency update only).

How it was produced (worth a look)

Packagist is not reachable from the session that made this, so:

  • the lock update resolved symfony/yaml from its GitHub repository, and I then restored the lock entry's usual Packagist fields by hand so the diff is only the version bump;
  • GitHub archive downloads failed too, so each of the five packages in vendor/ is a git archive export of the exact commit the lock names (this honours export-ignore, so the file set matches a release archive).

If you would rather have Composer write these itself, running composer update symfony/yaml && composer install on a machine with Packagist access should produce the same tree; any difference from this PR would be worth knowing about.

Checks

  • PHPUnit: 4,521 tests pass (23 skipped). PHPStan: no errors.
  • The locked packages checked against the FriendsOfPHP advisory database: none affected.

Generated by Claude Code

- composer.lock: symfony/yaml v7.4.18 -> v7.4.23, past the parser
  denial-of-service advisory (fixed in 7.4.23). The backend parses supplied
  YAML in the YAML-to-JSON route and the Quarto / VitePress importers.
- vendor/: the committed copy was five packages behind the lock. It now
  holds what the lock names: symfony/yaml 7.4.23 (was 7.4.14),
  phpoffice/phpspreadsheet 5.10.0, symfony/polyfill-mbstring 1.43.3,
  symfony/polyfill-php80 1.43.0 and nikic/php-parser 5.9.0 (dev).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PfFvVSAKfm9Q6uCXuLWtZh
@btopro
btopro merged commit 246b6eb into master Nov 14, 2026
14 checks passed
@btopro
btopro deleted the fix/symfony-yaml-advisory branch November 14, 2026 05:05
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants