Skip to content

Release 4.4.0 - #639

Merged
kevindb merged 9 commits into
mainfrom
release-4.4.0
Nov 7, 2026
Merged

kevindb merged 9 commits into
mainfrom
release-4.4.0

Conversation

@kevindb

@kevindb kevindb commented Nov 7, 2026

Copy link
Copy Markdown
Member

Summary

Release 4.4.0: fixes for four security advisories, a CSRF hardening fix, the version bump, and the docs that describe them.

ee9a2fb fix: build iframe upload inputs and the iframe with DOM APIs (GHSA-x8mc-9vpg-2rc8)
a5ab7de fix: find a label's for target by id in resetForm (GHSA-8395-7m7x-q7q2)
d3b63a5 fix: match form attributes without building a selector from the form id (GHSA-g7mw-rwc2-4h3g)
cc27ec9 fix: insert only string responses into target (GHSA-4w39-46xw-8jm2)
4be8ef6 ci: add CodeQL queries for the GHSA-x8mc, GHSA-8395, GHSA-g7mw and GHSA-4w39 sinks
b3e1cfc fix: send the Rails CSRF token only with iframe uploads that post the form
e58851e chore: release 4.4.0
c14b188 docs: publish the W1–W4 details and the 4.4.0 changes and metrics

The details are in docs/research/security-review.md and docs/research/4x-behavior-changes.md. The advisories are published once 4.4.0 is on npm.

Evidence

  • Before (main): the new CodeQL queries report results on src/jquery.form.js.
    After: 0 results. npm test: 244 tests plus 1 expected failure, coverage 100% on statements, branches, functions and lines. The suite passes on jQuery 1.7.2, 3.7.1 and 4.0.0. npm audit: 0 vulnerabilities.

Merge Danger

Door: two-way

The merge itself can be reverted. Publishing 4.4.0 to npm afterwards cannot be undone.

Blast Radius: consumers

These change behavior for consumers who relied on the old handling: the iframe upload builds its fields with DOM APIs, resetForm treats a label's for as an id, semantic serialization compares form attributes, and target inserts only string responses.

🤖 Generated with Claude Code

@kevindb
kevindb merged commit a06a0c8 into main Nov 7, 2026
8 checks passed
@kevindb
kevindb deleted the release-4.4.0 branch November 7, 2026 03:17
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