Skip to content

Bump node-forge from 1.3.3 to 1.4.0 in the npm_and_yarn group across 1 directory#1369

Merged
peterwilsoncc merged 4 commits into
developfrom
dependabot/npm_and_yarn/npm_and_yarn-4699359277
Jul 14, 2026
Merged

Bump node-forge from 1.3.3 to 1.4.0 in the npm_and_yarn group across 1 directory#1369
peterwilsoncc merged 4 commits into
developfrom
dependabot/npm_and_yarn/npm_and_yarn-4699359277

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 28, 2026

Copy link
Copy Markdown
Contributor

Bumps the npm_and_yarn group with 1 update in the / directory: node-forge.

Updates node-forge from 1.3.3 to 1.4.0

Changelog

Sourced from node-forge's changelog.

1.4.0 - 2026-03-24

Security

  • HIGH: Denial of Service in BigInteger.modInverse()
    • A Denial of Service (DoS) vulnerability exists due to an infinite loop in the BigInteger.modInverse() function (inherited from the bundled jsbn library). When modInverse() is called with a zero value as input, the internal Extended Euclidean Algorithm enters an unreachable exit condition, causing the process to hang indefinitely and consume 100% CPU.
    • Reported by Kr0emer.
    • CVE ID: CVE-2026-33891
    • GHSA ID: GHSA-5gfm-wpxj-wjgq
  • HIGH: Signature forgery in RSA-PKCS due to ASN.1 extra field.
    • RSASSA PKCS#1 v1.5 signature verification accepts forged signatures for low public exponent keys (e=3). Attackers can forge signatures by stuffing "garbage" bytes within the ASN.1 structure in order to construct a signature that passes verification, enabling Bleichenbacher style forgery. This issue is similar to CVE-2022-24771, but adds bytes in an addition field within the ASN.1 structure, rather than outside of it.
    • Additionally, forge does not validate that signatures include a minimum of 8 bytes of padding as defined by the specification, providing attackers additional space to construct Bleichenbacher forgeries.
    • Reported as part of a U.C. Berkeley security research project by:
      • Austin Chu, Sohee Kim, and Corban Villa.
    • CVE ID: CVE-2026-33894
    • GHSA ID: GHSA-ppp5-5v6c-4jwp
  • HIGH: Signature forgery in Ed25519 due to missing S < L check.
    • Ed25519 signature verification accepts forged non-canonical signatures where the scalar S is not reduced modulo the group order (S >= L). A valid signature and its S + L variant both verify in forge, while Node.js crypto.verify (OpenSSL-backed) rejects the S + L variant, as defined by the specification. This class of signature malleability has been exploited in practice to bypass authentication and authorization logic (see CVE-2026-25793, CVE-2022-35961). Applications relying on signature uniqueness (i.e., dedup by signature bytes, replay tracking, signed-object canonicalization checks) may be bypassed.
    • Reported as part of a U.C. Berkeley security research project by:
      • Austin Chu, Sohee Kim, and Corban Villa.
    • CVE ID: CVE-2026-33895
    • GHSA ID: GHSA-q67f-28xg-22rw
  • HIGH: basicConstraints bypass in certificate chain verification.
    • pki.verifyCertificateChain() does not enforce RFC 5280 basicConstraints requirements when an intermediate certificate lacks both the basicConstraints and keyUsage extensions. This allows any leaf certificate (without these extensions) to act as a CA and sign other certificates, which node-forge will accept as valid.
    • Reported by Doruk Tan Ozturk (@​peaktwilight) - doruk.ch
    • CVE ID: CVE-2026-33896
    • GHSA ID: GHSA-2328-f5f3-gj25

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 28, 2026
@jeffpaul jeffpaul added this to the 2.3.0 milestone Apr 13, 2026
@jeffpaul jeffpaul moved this to Code Review in Open Source Practice Apr 13, 2026
@jeffpaul
jeffpaul requested a review from peterwilsoncc April 13, 2026 17:33
@peterwilsoncc

Copy link
Copy Markdown
Collaborator

@dependabot recreate

Bumps the npm_and_yarn group with 1 update in the / directory: [node-forge](https://github.com/digitalbazaar/forge).


Updates `node-forge` from 1.3.3 to 1.4.0
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](digitalbazaar/forge@v1.3.3...v1.4.0)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-version: 1.4.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/npm_and_yarn-4699359277 branch from 1ea5032 to bbced73 Compare June 29, 2026 01:00
@dependabot
dependabot Bot requested a review from a team as a code owner June 29, 2026 01:00
@github-actions github-actions Bot added the needs:code-review This requires code review. label Jun 29, 2026
@peterwilsoncc
peterwilsoncc force-pushed the dependabot/npm_and_yarn/npm_and_yarn-4699359277 branch 2 times, most recently from 5385f6f to 3e9f91e Compare June 29, 2026 03:03
@peterwilsoncc
peterwilsoncc force-pushed the dependabot/npm_and_yarn/npm_and_yarn-4699359277 branch from bf61bce to 0494513 Compare June 29, 2026 03:53

@peterwilsoncc peterwilsoncc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

webpack-dev-server dependency.

Testing notes:

  1. npm ci; npm run start
  2. Ensure the process starts with a build
  3. Edit a CSS file
  4. Ensure a rebuild is triggered
  5. Ensure new styles are applied successfully
  6. Edit a JS file
  7. Ensure a build is triggered
  8. Ensure new scripts execute successfully.

It's all working fine locally but I've pushed up some messing around due to transition promises failing on CI.

Comment on lines +21 to +29
Cypress.on( 'uncaught:exception', ( err ) => {
if (
err?.name === 'AbortError' &&
err?.message?.includes( 'Transition was skipped' )
) {
return false;
}
} );

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an, apparently successful, way of working around the following error throwing on GitHub Action runs that does not occur locally.

I think it's something to do with view transitions not firing but removing wp_enqueue_view_transitions_admin_css from the admin CSS, see below, did not work on it's own.

AbortError: The following error originated from your application code, not from Cypress. It was caused by an unhandled promise rejection.

  > Transition was skipped

When Cypress detects uncaught errors originating from your application it will automatically fail the current test.

This behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.

https://on.cypress.io/uncaught-exception-from-application

@dkotter Are you able to give me a logic check on this? It's happening in a bunch of repos.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this looks fine and I landed on practically the same solution in ClassifAI: 10up/classifai@a9234df. Note we've since migrated ClassifAI to Playwright over Cypress and no longer have this problem

/**
* Remove view transitions to prevent Cypress from failing on a transition promise.
*/
add_action( 'admin_enqueue_scripts', function() {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still needed with the above fix?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted e958307

dkotter
dkotter previously approved these changes Jun 29, 2026
@github-project-automation github-project-automation Bot moved this from Code Review to QA Testing in Open Source Practice Jun 29, 2026

@peterwilsoncc peterwilsoncc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency of webpack-dev-server.

Running npm run start works as expected.

@jeffpaul
jeffpaul requested a review from peterwilsoncc July 13, 2026 21:05
@jeffpaul jeffpaul mentioned this pull request Jul 13, 2026
26 tasks
@peterwilsoncc
peterwilsoncc merged commit 7d1f336 into develop Jul 14, 2026
22 of 24 checks passed
@peterwilsoncc
peterwilsoncc deleted the dependabot/npm_and_yarn/npm_and_yarn-4699359277 branch July 14, 2026 03:24
@github-project-automation github-project-automation Bot moved this from QA Testing to Done in Open Source Practice Jul 14, 2026
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 needs:code-review This requires code review.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants