Exploit databaseDownload repository ZIP
GH-f162972b622ad28f707cee16512ca616
dinhvaren/cve-2026-33937
Sources for CVE-2026-33937
3 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files4
dinhvaren/cve-2026-33937Revision 1be1be9134de
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/models/CartItem.js
JavaScript · 356 bytesconst mongoose = require("mongoose");
const CartItemSchema = new mongoose.Schema(
{
productId: {
type: mongoose.Schema.Types.ObjectId,
ref: "Product",
required: true
},
quantity: {
type: Number,
default: 1
}
},
{
timestamps: true
}
);
module.exports = mongoose.model("CartItem", CartItemSchema);