Skip to content

Bump jquery-form from 4.3.0 to 4.4.0 in the external-jquery group across 1 directory - #671

Open
dependabot[bot] wants to merge 1 commit into
trunkfrom
dependabot/npm_and_yarn/external-jquery-a42db05a29
Open

dependabot[bot] wants to merge 1 commit into
trunkfrom
dependabot/npm_and_yarn/external-jquery-a42db05a29

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026 •

Copy link
Copy Markdown

Bumps the external-jquery group with 1 update in the / directory: jquery-form.

Updates jquery-form from 4.3.0 to 4.4.0

Release notes

Sourced from jquery-form's releases.

4.4.0

The first release since 4.3.0 (2020). It fixes four cross-site scripting vulnerabilities, adds jQuery 4 support and a module build, and fixes several long-standing bugs. There is no API change; the changes below are the ones a page could notice. Upgrading is recommended for everyone.

Security

All four affect 4.3.0 and earlier, and are fixed in 4.4.0. CVE IDs have been requested and will be added to the advisories when assigned.

Advisory Severity Affected feature
GHSA-x8mc-9vpg-2rc8 Medium The iframe upload transport (iframe: true) built HTML from field names, the clicked button's name, the csrf-param meta tag and iframeSrc
GHSA-8395-7m7x-q7q2 Medium resetForm() passed a <label>'s for attribute to $()
GHSA-g7mw-rwc2-4h3g Medium semantic: true built a selector from the form's id
GHSA-4w39-46xw-8jm2 Medium target inserted a parsed JSON response as HTML

Thanks to Rudloff for reporting the iframe transport and resetForm() issues. The other two were found in a maintainer security review.

Hardening in the same area:

  • The Rails CSRF token (<meta name="csrf-token">) is added only to same-origin iframe uploads, and only when they post the form. A cross-origin upload no longer receives it, and a GET upload no longer puts it in the query string.
  • An extra field named hasOwnProperty no longer breaks iframe uploads.

jQuery 4 and packaging

  • jQuery 4 is supported (#616). Every change is tested on jQuery 1.7.2, 3.7.1 and 4.0.0.
  • A module build. module points at dist/jquery.form.mjs, which registers the plugin when imported, so bundlers such as Vite pick it up (#618). The classic script-tag, AMD and CommonJS builds are unchanged: main is dist/jquery.form.js, and dist/jquery.form.min.js is still there.
  • The published package is smaller. It contains dist, src, the README and the license, without the tests and repository files.
  • Published with npm provenance from GitHub Actions.
  • dist/ files no longer carry /* eslint */ or /* global */ comments, which applied to code concatenated after the plugin (#553).

Fixes and behavior changes

  • The iframe transport builds its hidden inputs and iframe with DOM APIs. Array and object data/extraData values are sent as separate fields, as $.param sends them, instead of "a,b" or [object Object] (#597).
  • resetForm() on a <label> resets the control its for attribute names. This never worked before: a plain id matched nothing, and a match threw.
  • semantic: true matches form="…" controls by comparing the attribute, so a form id with quotes or brackets no longer throws or picks up unrelated fields.
  • target inserts only string responses. If jQuery has parsed the response (JSON or XML), the target is left unchanged, a message is logged under debug, and success is still called.
  • A <button> without a type attribute is captured as the submitter (#588), so its name and value are sent, as in a native submit.
  • resetForm, clearFields, fieldValue and selected accept nodes without a tag name (#600). resetForm on the document resets the fields inside it.
  • JSON responses are parsed with JSON.parse only. JSON that only eval accepted (single quotes, unquoted keys) now fails with a parse error instead of being evaluated.
  • Iframe uploads with dataType: "script" run the response, as $.ajax does.
  • Aborting an iframe upload rejects its Deferred with "aborted", fires ajaxComplete and ajaxStop, and removes the iframe. A second abort, or an abort after completion, does nothing.
  • Iframe responses that fail to parse report parsererror instead of success with no data.
  • FormData uploads serialize data with the global $.ajaxSettings.traditional, and data: {} no longer adds a field with an empty name.
  • GET urls with a fragment keep the form data, placed before the fragment.
  • Controls named like form properties (elements, action, setAttribute, removeAttribute) no longer break serialization or iframe uploads.

Known, not changed in 4.4.0

  • With delegation: true on jQuery 3 and later, the handler is not scoped to the selected forms. Bind ajaxForm directly to the forms instead.
  • dataType: "script" on jQuery 4 delivers undefined to success, because jQuery 4 loads such requests through a script tag. The script still runs.

... (truncated)

Commits
  • a06a0c8 Merge pull request #639 from jquery-form/release-4.4.0
  • 5d685d6 docs: add the release PR's CI timings to the 4.4.0 metrics
  • c14b188 docs: publish the W1–W4 details and the 4.4.0 changes and metrics
  • e58851e chore: release 4.4.0
  • b3e1cfc fix: send the Rails CSRF token only with iframe uploads that post the form
  • 4be8ef6 ci: add CodeQL queries for the GHSA-x8mc, GHSA-8395, GHSA-g7mw and GHSA-4w39 ...
  • cc27ec9 fix: insert only string responses into target (GHSA-4w39-46xw-8jm2)
  • d3b63a5 fix: match form attributes without building a selector from the form id (GHSA...
  • a5ab7de fix: find a label's for target by id in resetForm (GHSA-8395-7m7x-q7q2)
  • ee9a2fb fix: build iframe upload inputs and the iframe with DOM APIs (GHSA-x8mc-9vpg-...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for jquery-form since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 16, 2026
Bumps the external-jquery group with 1 update in the / directory: [jquery-form](https://github.com/jquery-form/form).


Updates `jquery-form` from 4.3.0 to 4.4.0
- [Release notes](https://github.com/jquery-form/form/releases)
- [Commits](jquery-form/form@v4.3.0...v4.4.0)

---
updated-dependencies:
- dependency-name: jquery-form
  dependency-version: 4.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: external-jquery
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump jquery-form from 4.3.0 to 4.4.0 in the external-jquery group Bump jquery-form from 4.3.0 to 4.4.0 in the external-jquery group across 1 directory Nov 17, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/external-jquery-a42db05a29 branch from 4ba1cf7 to 0645025 Compare November 17, 2026 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants