
CVE-2025-23061
https://notcve.org/view.php?id=CVE-2025-23061
15 Jan 2025 — Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection. NOTE: this issue exists because of an incomplete fix for CVE-2024-53900. • https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md • CWE-94: Improper Control of Generation of Code ('Code Injection') •

CVE-2023-3696 – Prototype Pollution in automattic/mongoose
https://notcve.org/view.php?id=CVE-2023-3696
17 Jul 2023 — Prototype Pollution in GitHub repository automattic/mongoose prior to 7.3.4. • https://github.com/automattic/mongoose/commit/305ce4ff789261df7e3f6e72363d0703e025f80d • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') •

CVE-2023-34188
https://notcve.org/view.php?id=CVE-2023-34188
23 Jun 2023 — The HTTP server in Mongoose before 7.10 accepts requests containing negative Content-Length headers. By sending a single attack payload over TCP, an attacker can cause an infinite loop in which the server continuously reparses that payload, and does not respond to any other requests. • https://blog.narfindustries.com/blog/narf-discovers-critical-vulnerabilities-in-cesanta-mongoose-http-server • CWE-1284: Improper Validation of Specified Quantity in Input •

CVE-2022-2564 – Prototype Pollution in automattic/mongoose
https://notcve.org/view.php?id=CVE-2022-2564
28 Jul 2022 — Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6. Una Contaminación de Prototipo en el repositorio de GitHub automattic/mongoose versiones anteriores a 6.4.6 • https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141 • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') •

CVE-2022-25299 – Arbitrary File Write
https://notcve.org/view.php?id=CVE-2022-25299
18 Feb 2022 — This affects the package cesanta/mongoose before 7.6. The unsafe handling of file names during upload using mg_http_upload() method may enable attackers to write files to arbitrary locations outside the designated target folder. Esto afecta al paquete cesanta/mongoose versiones anteriores a 7.6. Un manejo no seguro de los nombres de archivo durante la carga usando el método mg_http_upload() puede permitir a atacantes escribir archivos en ubicaciones arbitrarias fuera de la carpeta de destino designada • https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945 • CWE-552: Files or Directories Accessible to External Parties •

CVE-2021-26529
https://notcve.org/view.php?id=CVE-2021-26529
08 Feb 2021 — The mg_tls_init function in Cesanta Mongoose HTTPS server 7.0 and 6.7-6.18 (compiled with mbedTLS support) is vulnerable to remote OOB write attack via connection request after exhausting memory pool. La función mg_tls_init en el servidor Cesanta Mongoose HTTPS versión 7.0 y 6.7-6.18 (compilado con soporte mbedTLS) es vulnerable a un ataque de escritura OOB remota por medio de una petición de conexión después de agotar el grupo de memoria • https://github.com/cesanta/mongoose/issues/1203 • CWE-787: Out-of-bounds Write •

CVE-2019-17426
https://notcve.org/view.php?id=CVE-2019-17426
10 Oct 2019 — Automattic Mongoose through 5.7.4 allows attackers to bypass access control (in some applications) because any query object with a _bsontype attribute 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). Automattic Mongoose versiones hasta 5.7.4, permite a atacantes omitir el control de acceso (en alg... • https://github.com/Automattic/mongoose/commit/f3eca5b94d822225c04e96cbeed9f095afb3c31c •

CVE-2019-12951
https://notcve.org/view.php?id=CVE-2019-12951
24 Jun 2019 — An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow. Se detectó un problema en Mongoose anterior a versión 6.15. La función parse_mqtt() en el archivo mg_mqtt.c, presenta un desbordamiento de búfer en la región heap de la memoria crítico. • https://github.com/cesanta/mongoose/commit/b3e0f780c34cea88f057a62213c012aa88fe2deb • CWE-787: Out-of-bounds Write •

CVE-2018-20356
https://notcve.org/view.php?id=CVE-2018-20356
10 Jun 2019 — An invalid read of 8 bytes due to a use-after-free vulnerability in the mg_http_free_proto_data_cgi function call in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.13 and earlier allows a denial of service (application crash) or remote code execution. Una lectura no válida de 8 bytes debido a una vulnerabilidad de uso después de la llamada a la función mg_http_free_proto_data_cgi en mongoose.c en Cesanta Mongoose Embedded Web Server Library 6.13 y anteriores permite una denegación de servicio ... • https://github.com/insi2304/mongoose-6.13-fuzz/blob/master/Simplest_Web_Server_Use_After_Free-read_mg_http_free_proto_data_cgi.png • CWE-416: Use After Free •

CVE-2018-20355
https://notcve.org/view.php?id=CVE-2018-20355
10 Jun 2019 — An invalid write of 8 bytes due to a use-after-free vulnerability in the mg_http_free_proto_data_cgi function call in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.13 and earlier allows a denial of service (application crash) or remote code execution. Una escritura invalida de 8 bytes debido a una vulnerabilidad use-after-free de la llamada en la función en el mg_http_free_proto_data_cgi in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.13 y anteriores permiten un servicio de de... • https://github.com/insi2304/mongoose-6.13-fuzz/blob/master/Simplest_Web_Server_Use_After_Free-mg_http_free_proto_data_cgi.png • CWE-416: Use After Free •