Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Please report security issues privately, not in public issues. See [SECURITY](SE

## Compatibility
* Requires jQuery 1.7.2 or later. `main` is tested against jQuery 1.7.2, 3.7.1 and 4.0.0.
* jQuery 4 needs a release newer than 4.3.0; 4.3.0 uses APIs that jQuery 4 removed.
* jQuery 4 needs 4.4.0 or later; 4.3.0 uses APIs that jQuery 4 removed.
* With `delegation: true` on jQuery 3 and later, every form on the page is handled, not only the selected ones. ([issue #353](https://github.com/jquery-form/form/issues/353))
* **Not** compatible with the jQuery slim builds, which leave out AJAX.

Expand Down
2 changes: 1 addition & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The only dependency is jQuery itself.

#### Which versions of jQuery is jQuery Form Plugin compatible with?

jQuery Form Plugin is compatible with jQuery v1.7.2 and later. `main` is tested against jQuery 1.7.2, 3.7.1 and 4.0.0; jQuery 4 needs a release newer than 4.3.0. The jQuery slim builds are not supported because they leave out AJAX.
jQuery Form Plugin is compatible with jQuery v1.7.2 and later. `main` is tested against jQuery 1.7.2, 3.7.1 and 4.0.0; jQuery 4 needs 4.4.0 or later. The jQuery slim builds are not supported because they leave out AJAX.

#### Is jQuery Form Plugin fast? Does it serialize forms accurately?

Expand Down
16 changes: 8 additions & 8 deletions docs/research/security-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ A sink that DOM text can reach matters most, because correct escaping on the ser

## Security advisories fixed in 4.4.0

Four findings let DOM text, plugin options or a JSON response become executable HTML in 4.3.0 and earlier. They were withheld from this repository until 4.4.0 shipped, and are published as GitHub security advisories. CVE IDs were requested on 2026-10-31 and are pending.

| # | Advisory | Area | Reported by | Severity |
| --- | -------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | --------------------------------------------------- | -------- |
| W1 | [GHSA-x8mc-9vpg-2rc8](https://github.com/jquery-form/form/security/advisories/GHSA-x8mc-9vpg-2rc8) | The iframe upload transport builds HTML from strings | Rudloff (`extraData` name); the rest in this review | High |
| W2 | [GHSA-8395-7m7x-q7q2](https://github.com/jquery-form/form/security/advisories/GHSA-8395-7m7x-q7q2) | `resetForm` on a `<label>` passes `for` to `$()` | Rudloff; also public on drupal.org #3607794 | High |
| W3 | [GHSA-g7mw-rwc2-4h3g](https://github.com/jquery-form/form/security/advisories/GHSA-g7mw-rwc2-4h3g) | `formToArray` builds a selector from the form `id` | This review | Medium |
| W4 | [GHSA-4w39-46xw-8jm2](https://github.com/jquery-form/form/security/advisories/GHSA-4w39-46xw-8jm2) | `target` inserts a parsed JSON response as HTML | This review | Medium |
Four findings let DOM text, plugin options or a JSON response become executable HTML in 4.3.0 and earlier. They were withheld from this repository until 4.4.0 shipped, and are published as GitHub security advisories. W1 and W2 were drafted as High and published with the CVSS 3.1 vector `AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N` (6.1, Medium). CVE IDs were requested on 2026-10-31 and are pending.

| # | Advisory | Area | Reported by | Severity |
| --- | -------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | --------------------------------------------------- | ----------------- |
| W1 | [GHSA-x8mc-9vpg-2rc8](https://github.com/jquery-form/form/security/advisories/GHSA-x8mc-9vpg-2rc8) | The iframe upload transport builds HTML from strings | Rudloff (`extraData` name); the rest in this review | Medium (CVSS 6.1) |
| W2 | [GHSA-8395-7m7x-q7q2](https://github.com/jquery-form/form/security/advisories/GHSA-8395-7m7x-q7q2) | `resetForm` on a `<label>` passes `for` to `$()` | Rudloff; also public on drupal.org #3607794 | Medium (CVSS 6.1) |
| W3 | [GHSA-g7mw-rwc2-4h3g](https://github.com/jquery-form/form/security/advisories/GHSA-g7mw-rwc2-4h3g) | `formToArray` builds a selector from the form `id` | This review | Medium |
| W4 | [GHSA-4w39-46xw-8jm2](https://github.com/jquery-form/form/security/advisories/GHSA-4w39-46xw-8jm2) | `target` inserts a parsed JSON response as HTML | This review | Medium |

Each was reproduced with browser probes on jQuery 1.7.2, 3.7.1 and 4.0.0; a payload set a `window` flag from an `<img src=x onerror=…>` handler. Line numbers below are for `src/jquery.form.js` in 4.3.0.

Expand Down
Loading