{"id":"EUVD-2026-28597","revision":"b590b9448d304d29b043b16935f004d6","records":[{"revision":"b590b9448d304d29b043b16935f004d6","observedAt":"2026-11-01T10:23:28.168+00:00","statement":{"source":"euvd","id":"EUVD-2026-28597","aliases":["CVE-2026-41507"],"title":"math-codegen generates code from mathematical expressions. Prior to version 0.4.3, string literal content passed to cg.parse() is injected verbatim into a new Function() body without sanitization. This allows an attacker to execute arbitrar…","description":"math-codegen generates code from mathematical expressions. Prior to version 0.4.3, string literal content passed to cg.parse() is injected verbatim into a new Function() body without sanitization. This allows an attacker to execute arbitrary system commands when user-controlled input reaches the parser. Any application exposing a math evaluation endpoint where user input flows into cg.parse() is vulnerable to full RCE. This issue has been patched in version 0.4.3.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":null}],"references":["https://github.com/mauriciopoppe/math-codegen/security/advisories/GHSA-p6x5-p4xf-cc4r","https://github.com/mauriciopoppe/math-codegen/pull/11","https://github.com/mauriciopoppe/math-codegen/commit/4bb52d3030683362b3559ee8dd91350555a05f6b"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-28597","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 8, 2026, 1:49:34 PM","dateUpdated":"May 8, 2026, 2:20:21 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-28597","identifiers":["EUVD-2026-28597","CVE-2026-41507"]},"retained":false,"historicalAffected":[]}],"coverage":[]}