CVE-2026-41242: Protobufjs Type Constructor Unsanitized Name Code Injection
The protobufjs `Type` constructor forwards the `name` argument to `Namespace.call(this, name, options)` without first stripping non-word characters. The stored name is later interpolated verbatim as a JavaScript identifier in source compiled by `new Function()` (util/codegen in decoder.js / encoder.js / verifier.js / converter.js), allowing an attacker who c
greprules fetch cve-2026-41242-protobufjs-type-constructor-unsanitized-name-code-injection --engine opengrepDescription
The protobufjs `Type` constructor forwards the `name` argument to `Namespace.call(this, name, options)` without first stripping non-word characters. The stored name is later interpolated verbatim as a JavaScript identifier in source compiled by `new Function()` (util/codegen in decoder.js / encoder.js / verifier.js / converter.js), allowing an attacker who c
Community feedback
0 rule-level signals from signed-in users.
- Useful reports
- 0
- Context false positives
- 0
- Metadata suggestions
- 0
Contextual precision
Aggregated from approved scan feedback. False-positive reports describe observed scan contexts, not a global rule verdict.
- Findings observed
- 0
- Projects
- 0
- Reporters
- 0
Precision details are collecting more signed-in reports before verdict counts or ratios are emphasized.
No approved finding verdicts yet.
No scan diagnostics reported yet.