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

Medium 4.1 Published Updated

Attackers can inject malicious JavaScript into emails sent to administrators via unsanitized POST requests, potentially compromising the recipient's email client.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-24864?

CVE-2022-24864 is a medium-severity cross-site scripting vulnerability in OriginProtocol origin-website, published on 20 Apr 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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 [email protected]. 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.

Weakness: CWE-79

Which versions are affected by CVE-2022-24864?

It affects 1 product.

Products include Originprotocol Origin Website.

How do I fix CVE-2022-24864?

No fix has been published for CVE-2022-24864 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2022-24864 being exploited?

There is no known exploitation of CVE-2022-24864 in the wild and no public exploit code.

Sources

Is CVE-2022-24864 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free