Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lodash/lodash
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.17.23
Choose a base ref
...
head repository: lodash/lodash
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.18.0
Choose a head ref
  • 10 commits
  • 12 files changed
  • 3 contributors

Commits on Jan 21, 2026

  1. doc: fix quotes in compact jsdoc (#6090)

    the jsdoc was updated, but it used some straight quotes where backticks
    were desired
    jonchurch authored Jan 21, 2026
    Configuration menu
    Copy the full SHA
    62b439f View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2026

  1. Configuration menu
    Copy the full SHA
    35bb1d9 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2026

  1. Configuration menu
    Copy the full SHA
    0783181 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2026

  1. Configuration menu
    Copy the full SHA
    b819080 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2026

  1. refactor(fromPairs): use baseAssignValue for consistent assignment (#…

    …6153)
    
    * fix(fromPairs): use baseAssignValue for consistent assignmenet
    
    * chore: update dist/
    jonchurch authored Mar 30, 2026
    Configuration menu
    Copy the full SHA
    18ba0a3 View commit details
    Browse the repository at this point in the history
  2. fix: block prototype pollution in baseUnset via constructor/prototype…

    … traversal
    
    Block `constructor` and `prototype` unconditionally as non-terminal
    traversal keys in baseUnset, matching the approach already used by
    baseSet. The previous guard only blocked the specific two-key sequence
    `constructor` → `prototype`, allowing attackers to:
    - Delete static methods from built-in constructors (Object.keys,
      Array.isArray, String.fromCharCode) via paths like
      `['constructor', 'keys']`
    - Delete built-in prototype methods (toFixed, toLowerCase, valueOf)
      via primitive roots like `_.unset(0, 'constructor.prototype.toFixed')`
    - Bypass checks entirely using array-wrapped path segments like
      `[['constructor'], ['keys']]` which evaded the string-only key check
    The primitive root exception that previously allowed constructor.prototype
    traversal from primitives (e.g., `_.unset(0, 'constructor.prototype.a')`)
    is removed as it enabled deletion of properties on shared built-in
    prototypes. Path segments are now normalized with toKey() before
    validation.
    UlisesGascon authored and falsyvalues committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    fe8d32e View commit details
    Browse the repository at this point in the history
  3. fix: validate imports keys in _.template

    Fixes an incomplete patch for CVE-2021-23337. The `variable` option was validated against `reForbiddenIdentifierChars` but `importsKeys` was left unguarded, allowing code injection via the same `Function()` constructor sink.
    
    This patch:
    1. Validates `importsKeys` against `reForbiddenIdentifierChars`
    2. Replaces `assignInWith` with `assignWith` when merging imports
    
    Ref: https://github.com/lodash/lodash/security/advisories/GHSA-r5fr-rjxr-66jc
    Ref:  CVE-2026-4800
    
    ---------
    
    Co-authored-by: Jon Church <me@jonchurch.com>
    UlisesGascon and jonchurch committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    879aaa9 View commit details
    Browse the repository at this point in the history
  4. fix: linting issues

    falsyvalues committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    1073a76 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2026

  1. Configuration menu
    Copy the full SHA
    af63457 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59be2de View commit details
    Browse the repository at this point in the history
Loading