@apostrophecms/import-export is vulnerable to NoSQL Injection
54
CVE Score
Medium
NoSQL Injection
The import-export module's update key matching logic passes the import file's declared key value directly into the MongoDB query used to find the document to update, without restricting it to a plain scalar. A crafted update key value containing MongoDB query operators can match a document other than the intended one, letting a crafted import overwrite an unrelated existing document. The patch restricts update key values to safe scalar matches before building the query.
Upgrade the @apostrophecms/import-export library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you import documents through the import-export module's update key matching.
1.0.0 - 3.6.2
Fixed in 3.7.0@apostrophecms/import-export is vulnerable to NoSQL Injection in versions 1.0.0 - 3.6.2.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.