function SetOrGet(input, field, def) {
    if (field == '__proto__' || field == 'constructor' || field == 'prototype')
        throw new Error('Restricted setting magical attributes')
    return input[field] = Deffy(input[field], def);
}
NVD is only using a subset of CWE for mapping instead of the entire CWE, and the weakness type is not covered by that subset.