---
title: "lodash.trim security advisories"
description: "1 known security advisory for lodash.trim, with the versions they affect and the version that fixes each."
url: https://inlinr.com/packages/lodash.trim/security
lang: en
---

[Packages](https://inlinr.com/packages)

# lodash.trim

4.18.0 · 31 Mar 2026 MIT 184.6k / week [Repository](https://github.com/lodash/lodash) [Homepage](https://lodash.com/) [npm](https://www.npmjs.com/package/lodash.trim) [Atom feed](https://inlinr.com/packages/feed/lodash.trim)

Your version 

## Security advisories

From OSV, open ones first. Each release line gets its own fix: an older major is fixed by a patch on that major, not by moving to the newest one.

| Line | Newest | Where it stands  |
| ---- | ------ | ---------------- |
|      | 4.18.0 | Safe from 4.18.0 |

- Moderate  
[Regular Expression Denial of Service (ReDoS) in lodash](https://inlinr.com/advisories/GHSA-29mw-wpgm-hmr9)GHSA-29mw-wpgm-hmr9 · 6 Jan 2022  
fixed in 4.18.0

### Quality and security signals

What [npm](https://www.npmjs.com/package/lodash.trim) and [deps.dev](https://deps.dev/npm/lodash.trim) say about the latest release. Signals, not a verdict.

- Licence  
[MIT](https://spdx.org/licenses/MIT.html)
- Provenance  
No provenance statement on 4.18.0  
Says where the release was built and from which commit. It does not say the code is safe.
- Published by  
[jdalton](https://www.npmjs.com/~jdalton)
- Maintainers on npm  
[mathias](https://www.npmjs.com/~mathias), [jdalton](https://www.npmjs.com/~jdalton)
- Size  
[18 kB unpacked , 4 files](https://www.npmjs.com/package/lodash.trim/v/4.18.0?activeTab=code)
- GitHub stars  
61,353 on [lodash/lodash](https://github.com/lodash/lodash)
- Last release  
[4.18.0](https://www.npmjs.com/package/lodash.trim/v/4.18.0), 31 March 2026
- OpenSSF Scorecard  
[7.5 / 10](https://scorecard.dev/viewer/?uri=github.com%2Flodash%2Flodash) · 24 Aug 2026  
Lowest: CII-Best-Practices 0, Token-Permissions 0, Pinned-Dependencies 4  
Grades the repository's practices (reviews, CI, branch protection), not the package's code.

Registry facts last checked 19 Nov 2026\. Releases and advisories last read 22 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
