VDB
Sign up
HIGH7.2

GHSA-rfv9-x7hh-xc32

matrix-js-sdk Prototype Pollution vulnerability

Quick fix

GHSA-rfv9-x7hh-xc32 — matrix-js-sdk: upgrade to the fixed version with the command below.

npm install matrix-js-sdk@19.4.0

Details

### Impact Events sent with special strings in key places can temporarily disrupt or impede the matrix-js-sdk from functioning properly, potentially impacting the consumer's ability to process data safely. Note that the matrix-js-sdk can appear to be operating normally but be excluding or corrupting runtime data presented to the consumer.

### Patches This is fixed in matrix-js-sdk 19.4.0.

### Workarounds Redacting applicable events, waiting for the sync processor to store data, and restarting the client can often fix it. Alternatively, redacting the applicable events and clearing all storage will often fix most perceived issues.

In some cases, no workarounds are possible.

### References https://learn.snyk.io/lessons/prototype-pollution/javascript/

### For more information If you have any questions or comments about this advisory please email us at [security at matrix.org](mailto:security@matrix.org).

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/matrix-js-sdk
Introduced in: 0Fixed in: 19.4.0
Fixnpm install matrix-js-sdk@19.4.0

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:npm/matrix-js-sdk"]}'