Vulnerabilities/

Orval Mock Generation Code Injection via const

Severity:
High

Description

I am reporting a code injection vulnerability in Orval’s mock generation pipeline affecting @orval/mock in both the 7.x and 8.x series. This issue is related in impact to the previously reported enum x-enumDescriptions (https://github.

Recommendation

Update the @orval/mock package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@orval/mock
Anything's wrong? Let us know Last updated on February 27, 2026