{"id":"EUVD-2021-1282","enisaUuid":"2c740097-9833-3022-8ba9-d6b3b969b824","description":"mongo-express is a web-based MongoDB admin interface, written with Node.js and express. 1: As mentioned in this issue: https://github.com/mongo-express/mongo-express/issues/577, when the content of a cell grows larger than supported size, clicking on a row will show full document unescaped, however this needs admin interaction on cell. 2: Data cells identified as media will be rendered as media, without being sanitized. Example of different renders: image, audio, video, etc. As an example of type 1 attack, an unauthorized user who only can send a large amount of data in a field of a document may use a payload with embedded javascript. This could send an export of a collection to the attacker without even an admin knowing. Other types of attacks such as dropping a database\\collection are possible.","datePublished":"Jun 21, 2021, 6:45:12 PM","dateUpdated":"Aug 3, 2024, 6:09:16 PM","baseScore":8.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","references":"https://github.com/mongo-express/mongo-express/security/advisories/GHSA-7p8h-86p5-wv3p\nhttps://github.com/mongo-express/mongo-express/issues/577\nhttps://github.com/mongo-express/mongo-express/commit/f5e0d4931f856f032f22664b5e5901d5950cfd4b\n","aliases":"CVE-2021-21422\nGHSA-7p8h-86p5-wv3p\n","assigner":"GitHub_M","epss":1.57,"enisaIdProduct":[{"id":"508292c4-5c95-3c0b-a776-9d401a0c8d29","product":{"name":"mongo-express","vendor":{"name":"n/a"}},"product_version":"\u003c v1.0.0-alpha.4"}],"enisaIdVendor":[{"id":"7e119875-565d-3035-a862-9c5195569db7","vendor":{"name":"mongo-express"}}],"enisaIdVulnerability":[{"id":"6a8a71fc-881b-3571-868d-0779633daf96","vulnerability":{"id":"GHSA-7p8h-86p5-wv3p","description":"Cross-site scripting","datePublished":"Jun 28, 2021, 5:18:04 PM","dateUpdated":"Jun 22, 2021, 3:44:45 PM","baseScore":null,"references":"https://github.com/mongo-express/mongo-express/security/advisories/GHSA-7p8h-86p5-wv3p\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-21422\nhttps://github.com/mongo-express/mongo-express/issues/577\nhttps://github.com/mongo-express/mongo-express/commit/f5e0d4931f856f032f22664b5e5901d5950cfd4b\n","enisa_id":"EUVD-2021-1282\n","aliases":"GHSA-7p8h-86p5-wv3p\nCVE-2021-21422\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"b90dda23-e80f-3327-a35d-dcf860ccc23c","vulnerability":{"id":"CVE-2021-21422","description":"mongo-express is a web-based MongoDB admin interface, written with Node.js and express. 1: As mentioned in this issue: https://github.com/mongo-express/mongo-express/issues/577, when the content of a cell grows larger than supported size, clicking on a row will show full document unescaped, however this needs admin interaction on cell. 2: Data cells identified as media will be rendered as media, without being sanitized. Example of different renders: image, audio, video, etc. As an example of type 1 attack, an unauthorized user who only can send a large amount of data in a field of a document may use a payload with embedded javascript. This could send an export of a collection to the attacker without even an admin knowing. Other types of attacks such as dropping a database\\collection are possible.","datePublished":"Jun 21, 2021, 6:45:12 PM","dateUpdated":"Aug 3, 2024, 6:09:16 PM","status":"PUBLISHED","baseScore":8.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","references":"https://github.com/mongo-express/mongo-express/security/advisories/GHSA-7p8h-86p5-wv3p\nhttps://github.com/mongo-express/mongo-express/issues/577\nhttps://github.com/mongo-express/mongo-express/commit/f5e0d4931f856f032f22664b5e5901d5950cfd4b\n","enisa_id":"EUVD-2021-1282\n","assigner":"GitHub_M","epss":1.57,"dataProcessed":"Nov 22, 2026, 1:30:34 AM","vulnerabilityProduct":[{"id":"f7c2a61d-b912-3726-b3bc-3338f1f2ec34","product":{"name":"mongo-express","vendor":{"name":"n/a"}},"product_version":"\u003c v1.0.0-alpha.4"}],"vulnerabilityVendor":[{"id":"6fa54aa6-7be7-3dac-accb-42ec848eb3da","vendor":{"name":"mongo-express"}}]}}],"enisaIdAdvisory":[]}