GHSA-wwxh-74fx-33c6
Possible prototype pollution in metadata record, when using meta decorator
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @aedart/support | < 0.6.1 | 0.6.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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`.
References
External links from the advisory. They lead to third-party sites.