VDB
Sign up
LOW3.7

GHSA-wwxh-74fx-33c6

Possible prototype pollution in metadata record, when using meta decorator

Quick fix

GHSA-wwxh-74fx-33c6 — @aedart/support: upgrade to the fixed version with the command below.

npm install @aedart/support@0.6.1

Details

### Impact

Possible prototype pollution for the `MetadataRecord`, when merged with a base class' metadata object, in `meta` decorator from the `@aedart/support` package.

The likelihood is questionable, given that a class' metadata can only be set or altered when the class is decorated via `meta()`. Furthermore, object(s) of sensitive nature would have to be stored as metadata, before this can become a vulnerability. ### Patches

Has been patched in version `0.6.1`.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@aedart/support
Introduced in: 0Fixed in: 0.6.1
Fixnpm install @aedart/support@0.6.1

References