chore(deps): update dependency mongoose to v5.13.15 [security] - #84
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency mongoose to v5.13.15 [security]#84renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
November 21, 2019 10:12
b81b0e6 to
513f76d
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
December 14, 2019 21:49
513f76d to
f061338
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
December 22, 2019 02:00
f061338 to
872ea74
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
December 31, 2019 07:00
872ea74 to
96c2051
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
January 18, 2020 19:16
96c2051 to
eaaf5aa
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
February 9, 2020 03:53
eaaf5aa to
22f3c91
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
February 20, 2020 06:59
22f3c91 to
9605981
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
March 15, 2020 03:59
9605981 to
b8b3a98
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
April 28, 2020 05:01
b8b3a98 to
ecb978c
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
May 7, 2020 17:59
ecb978c to
eda3c51
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
July 1, 2020 16:49
eda3c51 to
41ede6b
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
July 10, 2020 11:53
41ede6b to
bbbe00d
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
August 25, 2020 02:59
bbbe00d to
e5a6c4e
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
October 28, 2020 12:56
e5a6c4e to
38ac822
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
November 28, 2020 05:57
38ac822 to
17aeaec
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
December 11, 2020 01:01
17aeaec to
bbfd4bd
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
2 times, most recently
from
January 10, 2021 13:48
c9f9c11 to
605a188
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
2 times, most recently
from
January 30, 2021 11:46
eb476ea to
21ea2a9
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
February 9, 2021 15:51
21ea2a9 to
261c59b
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
April 10, 2021 16:49
261c59b to
54c4c60
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
April 26, 2021 13:34
54c4c60 to
6a53d4c
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
May 9, 2021 21:39
6a53d4c to
e329c0e
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
March 7, 2022 09:52
e329c0e to
91ed496
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
March 26, 2022 13:08
91ed496 to
632ac9c
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
April 25, 2022 02:26
632ac9c to
951c2dc
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
May 15, 2022 23:24
951c2dc to
ff9de4d
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
June 18, 2022 13:17
ff9de4d to
2ac24ad
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
2 times, most recently
from
January 30, 2025 15:03
660ae06 to
098e1c4
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
February 9, 2025 13:58
098e1c4 to
961efac
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
March 3, 2025 15:24
961efac to
b14e2e4
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
March 11, 2025 12:12
b14e2e4 to
a3cd46b
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
April 1, 2025 11:36
a3cd46b to
3c6bdfd
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
April 8, 2025 13:06
3c6bdfd to
1fc9cc6
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
April 24, 2025 07:35
1fc9cc6 to
acb34f6
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
May 19, 2025 21:04
acb34f6 to
1262d81
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
May 28, 2025 09:03
1262d81 to
439efcb
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
June 6, 2025 04:16
439efcb to
eab16e3
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
June 22, 2025 13:54
eab16e3 to
7b86b6d
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
July 2, 2025 17:53
7b86b6d to
e3fc6c4
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
2 times, most recently
from
August 13, 2025 16:24
ec0e819 to
ac2c71b
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
August 31, 2025 09:40
ac2c71b to
071a777
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
September 25, 2025 20:11
071a777 to
337e98e
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
October 15, 2025 22:30
337e98e to
27ec4d3
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
October 21, 2025 22:40
27ec4d3 to
78d987d
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
November 11, 2025 00:38
78d987d to
148803f
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
November 18, 2025 14:35
148803f to
e9b4d36
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
December 31, 2025 17:01
e9b4d36 to
a277513
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
2 times, most recently
from
January 23, 2026 17:39
a0a1f6d to
bfd6e2e
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
February 2, 2026 21:42
bfd6e2e to
21c0fdd
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
February 12, 2026 11:34
21c0fdd to
0b16e1d
Compare
renovate
Bot
force-pushed
the
renovate/npm-mongoose-vulnerability
branch
from
March 5, 2026 15:15
0b16e1d to
1db347d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.4.17→5.13.15Improper Input Validation in Automattic Mongoose
CVE-2019-17426 / GHSA-8687-vv9j-hgph
More information
Details
Automattic Mongoose through 5.7.4 allows attackers to bypass access control (in some applications) because any query object with a
_bsontypeattribute is ignored. For example, adding"_bsontype":"a"can sometimes interfere with a query filter. NOTE: this CVE is about Mongoose's failure to work around this _bsontype special case that exists in older versions of the bson parser (aka the mongodb/js-bson project).Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
automattic/mongoose vulnerable to Prototype pollution via Schema.path
CVE-2022-2564 / GHSA-f825-f98c-gj3g
More information
Details
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Affected versions of this package are vulnerable to Prototype Pollution. The
Schema.path()function is vulnerable to prototype pollution when setting the schema object. This vulnerability allows modification of the Object prototype and could be manipulated into a Denial of Service (DoS) attack.Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
Automattic/mongoose (mongoose)
v5.13.15Compare Source
====================
v5.13.14Compare Source
====================
v5.13.13Compare Source
====================
v5.13.12Compare Source
====================
v5.13.11Compare Source
====================
useDb()#10732v5.13.10Compare Source
====================
v5.13.9Compare Source
===================
extends Documentandany#10647v5.13.8Compare Source
===================
v5.13.7Compare Source
===================
Schema#index()types #10562 JaredReisingerpush()#10546v5.13.6Compare Source
===================
next()to avoid stack overflow with large batch size #10449v5.13.5Compare Source
===================
depopulate()with no args depopulates all #10501 gfranczv5.13.4Compare Source
===================
$setOnInsert#10460docan object with correct keys #10475v5.13.3Compare Source
===================
$addToSetand with positional operator #10447discriminator()with non-document #10452 #10421 DouglasGabrv5.13.2Compare Source
===================
v5.13.1Compare Source
====================
v5.13.0Compare Source
===================
bulkSave()function that saves multiple docs in 1bulkWrite()#9727 #9673 AbdelrahmanHafezpathsToSkipto apply intoObject()andtoJSON()#10120diffIndexes()function that calculates what indexessyncIndexes()will create/drop without actually executing any changes #10362 IslandRhythmsendSession()#10306v5.12.15Compare Source
====================
Schemafor cases when we can't infer from Model #10358Query#cast()#10388 lkhodiscriminatorKeyschema option #10386 #10376 IslandRhythmsv5.12.14Compare Source
====================
Model.populate()#10335ValidationErroras a possible type forValidationError#errors#10320 IslandRhythmsModel.exists()#10336 Aminoizv5.12.13Compare Source
====================
$getAllSubdocs()#10275findOneAndUpdate()#10232 #10231 cnwangjiev5.12.12Compare Source
====================
returnOriginalwithfindOneAndUpdate()#10298 #10297 #10292 #10285 IslandRhythmsmap()result an array if used over an array #10288 quantumsheepv5.12.11Compare Source
====================
v5.12.10Compare Source
====================
defaultsoption on result documents from query options #7287 IslandRhythmspathsToValidatetovalidate()andvalidateSync()#10258loadClass()on classes that havecollectionas a static property #10257 #10254 IslandRhythmsvirtualsOnlyparameter toloadClass()function signature IslandRhythmsv5.12.9Compare Source
===================
optionsas first parameter #10216v5.12.8Compare Source
===================
toJSON()function to ensurenameproperty always ends up inJSON.stringify()output #10166 IslandRhythmsallowDiskUseoption #10177insertMany()#10144extends Document#10144UpdateWithAggregationPipelinefor cases whenUpdateQueryis used as a function param #10186useFindAndModifyanduseCreateIndexdeprecation warnings #10155v5.12.7Compare Source
===================
process.nextTick()to avoid clean stack traces causing memory leak when using synchronous recursion likeasync.whilst()#9864v5.12.6Compare Source
===================
writeConcernschema option to work around MongoDB driver'swriteConcerndeprecation warning #10083 #10009 IslandRhythmslocalFieldfilter to$elemMatchon virtual populate when custommatchhas a$elemMatchandforeignFieldis an array #10117save()when usingoptimisticConcurrencyif no changes in document #10128 IslandRhythmsobjascontextinModel.validate()ifobjis a document #10132useDb()withuseUnifiedTopology#8267create()andinsertMany()#10144eachAsync()callback receives a single doc rather than array of docs unlessbatchSizeis set #10135validateSync()is a ValidationError #10147 michaln-qv5.12.5Compare Source
===================
autoCreatevalue from Mongoose global when creating new model before callingconnect()#10091type: Booleanin Schema definitions #10085updateOne()andupdateMany()#10095deleteOne(),deleteMany()#10122useCreateIndexalwaysfalsein docs #10033v5.12.4Compare Source
===================
_idproperty #10069.$*#10123transform()function for single conventional populate #10064Tto useT & Documentinternally #10046$pullwith$paths #10075Datetype for$currentDate#10058$unsetproperties to be any value #10066indexproperty to a string #10077v5.12.3Compare Source
===================
writeConcern()method to avoid writeConcern deprecation warning #10009createCollection()and other helpers to avoid event emitter warning #9778Connection#idto Mongoose instance so id always lines up withmongoose.connectionsindex #10025 IslandRhythmspromiseOrCallback()if 3rd param isn't an EventEmitter #10055 emrebassModel.discriminator()#10054 coro101next()callback forpre('insertMany')hooks #10078 #10072 pezzutransformto PopulateOptions interface #10061v5.12.2Compare Source
===================
post('find')hooks with an array of docs #10015 #9982 IslandRhythmsrefas an option on an array SchemaType #10029selectoption from array schematypes #10029Schema()constructor #10035 zpbrentQueryWithHelpersso query helpers pass through chaining #10040upsertedarray toupdateOne(),updateMany(),update()result #10042Aggregate#project()types that were mistakenly removed in 5.12.0 #10043typein Schema to a SchemaType class or a Schema instance #10030session.withTransaction()beforesession.startTransaction()becausewithTransaction()is the recommended approach #10008mongoose.Types#10016v5.12.1Compare Source
====================
Schemafor cases when we can't infer from Model #10358Query#cast()#10388 lkhodiscriminatorKeyschema option #10386 #10376 IslandRhythmsv5.12.0Compare Source
===================
transformoption that Mongoose will call on every populated doc #3775Query#pre()andQuery#post()public #9784Document#getPopulatedDocs()to return an array of all populated documents in a document #9702 IslandRhythmsDocument#getAllSubdocs()to return an array of all single nested and array subdocuments #9764 IslandRhythmsschemaas a schema path name #8798 IslandRhythmsnoListeneroption to help with use cases where you're usinguseDb()on every request #9961mongoose.createConnection()#9985explainoption toModel.exists()#8098 IslandRhythmsv5.11.20Compare Source
====================
dbevents deprecation warning with 'close' events #10004 #9930$pullmore permissive to allow dotted paths #9993v5.11.19Compare Source
====================
validateModifiedOnlyis set #9963findOneAndReplace()#9951loadClass()[#&fix(deps): update dependency express-winston to v4 #82Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.