Skip to content

Conversation

SchroederSteffen
Copy link

@SchroederSteffen SchroederSteffen commented Jul 21, 2025

I noticed that the rule should-specify-forbid-unknown-values is sometimes called validation-pipe-should-forbid-unknown or validation-pipe-should-use-forbid-unknown. Currently, even the rule docs link in the README is broken because of that.

This PR aligns all references to should-specify-forbid-unknown-values.

@SchroederSteffen SchroederSteffen changed the title fix(should-specify-forbid-unknown-values): align links & references fix(should-specify-forbid-unknown-values): align references Jul 21, 2025
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18413
https://github.com/typestack/class-validator/issues/438
There is a CVE for class-transformer when using random javascript objects. You need to be careful about configuring the ValidationPipe in NestJs.
See <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18413>, <https://github.com/typestack/class-validator/issues/438> & <https://github.com/nestjs/nest/issues/10683>.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added link to the nestjs issue which explains that NestJs sets the default to false again (overwriting the class-validator default).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant