Skip to content
XSS Write-up Intermediate

Palisade identifies Wormable CrossSite Scripting Vulnerability affecting Rarible’s NFT Marketplace

A stored cross-site scripting flaw in Rarible's profile photo parameter allowed attackers to inject persistent JavaScript that could spread like a worm and manipulate wallet transactions. The researchers bypassed Cloudflare's WAF using a base64-encoded iframe payload.

Palissade Follow

Published on palisade.consulting

Bounty$5,000 View original

On April 14th, 2022, a vulnerability was discovered in Rarible's profile image functionality. Attackers could inject arbitrary HTML and JavaScript that would persist across the site as the victim navigated.

Palissade (@PalisadeLLC), on palisade.consulting

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 8 min read.

Context

Rarible is an NFT marketplace, and the target of this research was its user profile functionality on rarible.com. Profiles carry a user-supplied image, and the backend service that updates a profile accepts a photo parameter. That parameter is the subject of the whole write-up: it was not sanitised properly, so an attacker could store arbitrary HTML and JavaScript in a profile and have it execute in the browsers of anyone who viewed that profile.

The report frames the bug as a wormable stored XSS. Because the marketplace is a client-side rendered React application, an injected payload persisted across page transitions without a full reload, which is what made self-propagation plausible. The platform is large: the report cites over 2 million users and more than $250M in trading volume, which is the scale that turns a stored XSS into a serious problem.

A short glossary of the terms the report uses, since the Web3 setting matters for the impact:

  • XSS (Cross-Site Scripting): injection of malicious script into a trusted site, executing in users' browsers.
  • NFT marketplace: a platform to buy, sell and trade non-fungible tokens, unique digital assets stored on a blockchain.
  • WAF (Web Application Firewall): a filter that inspects HTTP traffic to protect the application.
  • Wallet compromise: unauthorised access to a cryptocurrency wallet, potentially leading to theft of digital assets.
  • Smart contract interactions: transactions such as buying NFTs, approving token transfers or minting tokens, which require wallet signatures and are irreversible once confirmed.
  • Token approvals: a mechanism letting a smart contract spend tokens on a user's behalf; a malicious approval can grant unlimited access to a balance.
  • ERC-20: the standard for fungible tokens on Ethereum, including USDC and USDT.
  • Private keys and seed phrases: the credentials that control a wallet; their compromise means permanent loss of funds.
  • Multi-signature wallets: wallets that require several parties to approve a transaction, common for organisations and DAOs.
  • DeFi: decentralised finance applications that provide lending, borrowing and trading through smart contracts.

Setup

The report does not describe a lab, tooling or test accounts. What it does establish is the precondition for the attack: a signed-in user with a profile, and the ability to send a request to the profile update API. The request shown carries a bearer JWT and a wallet signature, so the attacker needs a valid authenticated session and a wallet to sign with. The victim needs only to view the malicious profile for the payload to execute in their browser.

The relevant infrastructure named in the report is the API host api-mainnet.rarible.com, the endpoint path /marketplace/api/v4/users/WALLET_ADDRESS, and Cloudflare's WAF sitting in front of it.

Finding it

The flaw was in the backend service responsible for updating user profiles. Input validation there was insufficient to prevent HTML injection through the photo parameter, so the value was stored and later rendered as markup rather than as an image reference. The report describes this as improper sanitisation of photo in Rarible's user profile API.

The reason it looked wrong is straightforward once you consider how the value is used: a profile photo field should hold an image, not an HTML document. Anything that lets the field carry an element with executable content turns every profile view into a script execution.

Exploitation

Step 1: send the crafted profile update

The attacker sends a profile update with an iframe whose src is a base64 data URL containing an HTML document with a script:

HTTP
POST /marketplace/api/v4/users/WALLET_ADDRESS HTTP/2
Host: api-mainnet.rarible.com
Content-Type: application/json
Authorization: Bearer JWT_TOKEN
...
{
  "signature": "WALLET_SIGNATURE",
  "publicKey": "WALLET_ADDRESS",
  "photo": "<iframe src=data:text/html;base64,[redacted]=></iframe>"
}

The important parts:

  • Authorization: Bearer JWT_TOKEN authenticates the request as the profile owner.
  • signature and publicKey are the wallet signature and address the API expects alongside the update.
  • photo carries an <iframe> whose src is a data:text/html;base64,... URL. The base64 blob decodes to a small HTML document containing a script that calls alert('XSS'), which is the proof-of-concept payload.

The report does not show the response to this request. What it states is that the value was stored and that the payload persisted in the victim's profile.

Step 2: understand why the WAF did not stop it

Cloudflare's WAF blocked simple payloads such as:

HTML
<script>alert('xss')</script>

The bypass used a base64-encoded iframe injection, and the report gives three reasons it works:

  1. The WAF examines the raw request and sees only base64-encoded data, not the script.
  2. The browser decodes the base64 and executes the hidden JavaScript.
  3. Data URLs allow embedding a complete HTML document inside an iframe.

Step 3: persistence across navigation

Rarible's site uses client-side rendering with React. The malicious payload persisted across page transitions without requiring a full page reload. That is what turns a stored XSS into a worm: the script stays alive as the victim moves around the marketplace.

Step 4: propagation

The report describes the worm cycle as follows:

  1. Initial infection: the attacker creates a malicious profile containing the XSS payload.
  2. Victim browsing: a user visits the infected profile and the payload executes in their browser.
  3. Profile modification: the malicious script updates the victim's own profile with the same payload.
  4. Viral spread: the victim's followers and other marketplace browsers become infected.
  5. Exponential growth: each infected user becomes a vector for further spread.

Root cause

The mistake is missing sanitisation of the photo parameter in the profile update backend. The field was meant to hold an image reference, but improper sanitisation let an <iframe> with a data URL survive into the page. The report attributes the failure to insufficient input validation in that backend service.

The existing defences did not stop it for two reasons. First, the WAF matched on the raw request body, and base64 encoding hid the script from it. Second, the application layer's input validation was insufficient to catch the payload, so there was little behind the WAF to stop it. The client-side rendering architecture then made the stored payload longer-lived than it would be in a server-rendered application, because the single-page app keeps state between page changes.

Impact

The report is careful to note that Rarible patched the vulnerability in under two hours after disclosure, preventing exploitation in the wild. The impact described is therefore what could have happened had the bug been weaponised. During the roughly two-hour exposure window, millions in digital assets were potentially at risk across Rarible's user base.

The scenarios the report sets out:

  • Wallet takeover: victims could be prompted to unknowingly approve unlimited ERC-20 token transfers through manipulated MetaMask popups, granting attackers access to entire token balances.
  • Fake listings: prices of popular NFTs such as Bored Ape Yacht Club and CryptoPunks could be altered client-side to bait purchases at inflated rates, with funds redirected to attacker wallets.
  • Profile hijacking: once a signed-in victim viewed a malicious profile, their authentication tokens could be stolen and their account auto-infected, spreading the worm through their social network.
  • Brand abuse: verified collections could be spoofed with fake verification badges, eroding trust and potentially damaging artist reputations.
  • Market manipulation: coordinated attacks could create artificial demand or panic selling by displaying false floor prices or trading volumes.

On the Web3-specific side, the report lists what injected scripts could do to blockchain interactions:

  • MetaMask manipulation: modify transaction parameters before the user signs them.
  • Phishing integration: fake wallet connection prompts to harvest private keys or seed phrases.
  • Contract interaction hijacking: redirect legitimate NFT purchases to attacker-controlled addresses.
  • Gas fee manipulation: inflate transaction fees and send the excess to attacker wallets.

More broadly, the report argues that XSS in a Web3 environment intersects with real financial assets on an immutable chain. A single payload could drain wallets through malicious approvals, manipulate DeFi interactions, alter smart contract interactions with permanent consequences, compromise keys or seed phrases through phishing, or exploit multi-signature wallets by tricking co-signers. It also notes that blockchain addresses are pseudonymous, making attribution difficult, and that multi-chain NFT platforms multiply the attack surface.

Fix

The report states that Rarible's development team deployed a patch across all production servers, and that the fix was confirmed by the researchers through independent testing. On 04/18/22, additional security measures were implemented, including enhanced input validation.

The mitigation guidance it gives for Web3 developers is general:

  • Content Security Policy: strict CSP headers to prevent inline script execution.
  • Input sanitisation: libraries such as DOMPurify for robust HTML sanitisation.
  • Output encoding: encode all user-generated content before rendering.
  • Security audits: regular penetration testing focused on Web3-specific attack vectors.
  • Multi-layer defence: combine WAF, application-level validation and client-side protection.

For users, it recommends verifying recipient addresses and amounts before signing, using hardware wallets for high-value transactions, keeping browsers updated and considering a dedicated browser for crypto activity, and reporting unusual behaviour or unexpected transaction prompts.

Disclosure timeline

Time Event
04/14/22 20:40 GMT-5 Vulnerability disclosed to Rarible's security team via the Bugcrowd platform.
04/14/22 21:15 GMT-5 Rarible acknowledges receipt and begins investigation.
04/14/22 22:30 GMT-5 Patch deployed across all production servers.
04/14/22 23:00 GMT-5 Fix confirmed by the researchers through independent testing.
04/16/22 $5,000 bounty awarded via the Bugcrowd responsible disclosure programme.
04/18/22 Additional security measures implemented, including enhanced input validation.

Variants to test

These follow from the technique in the report and are worth trying on similar targets:

  1. Base64 data URL in any stored HTML field. Submit an <iframe src=data:text/html;base64,...> value in profile fields, bios, display names or image URLs. A positive result is the payload executing when the profile is viewed, with the WAF not blocking the request.
  2. Other encodings against the WAF. The report only demonstrates base64. Try HTML entity encoding, URL encoding or mixed encodings of a script payload in the same field. A positive result is the decoded script executing in the browser while the raw request passes the filter.
  3. Client-side persistence checks. After injecting, navigate between pages in the single-page app without a full reload. A positive result is the payload still executing after route changes, which is the precondition for worm behaviour.
  4. Profile update endpoints on other platforms. Look for the same pattern: a JSON profile update that accepts a media or URL field and renders it as markup. A positive result is stored HTML executing on the public profile page.
  5. Authenticated session requirements. Confirm whether the update requires a bearer token and wallet signature, as here, and whether a stolen token alone is enough to rewrite a victim's profile. A positive result is a profile update succeeding with only the token, which is what the worm needs to self-propagate.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 15 min read.

What happened, in plain words

In April 2022, a security research firm called Palisade found a serious flaw in Rarible, one of the biggest marketplaces for NFTs. An NFT is a unique digital item stored on a blockchain, and Rarible is a website where people buy, sell and trade them. The flaw let an attacker hide a small piece of JavaScript, the programming language that runs inside web pages, inside a user's profile picture field. Once that code was saved, it ran in the browser of anyone who looked at that profile. Because the code could copy itself into the profiles of the people who viewed it, it behaved like a worm: a piece of malicious code that spreads on its own from one user to the next.

The report calls this a wormable stored cross-site scripting vulnerability. Rarible fixed it in under two hours after being told, so it was never used against real users. The report describes what could have happened if it had been.

The words you need first

Before the details, here are the ideas the report leans on. Each one is explained again where it first matters.

  • XSS (Cross-Site Scripting): a bug where an attacker gets their own code into a trusted website, so that the site runs the attacker's code in other people's browsers. Think of a noticeboard in an office where anyone can pin a note. If someone pins a note that says "hand your keys to the person at the door", and staff believe it because it is on the official board, that is the same idea.
  • NFT marketplace: a website where people buy, sell and trade non-fungible tokens, which are unique digital assets recorded on a blockchain. Rarible is one.
  • WAF (Web Application Firewall): a filter that sits in front of a website and inspects incoming traffic, blocking requests that look like attacks. Think of a security guard at the door checking bags.
  • Wallet compromise: someone else gaining access to your cryptocurrency wallet, which can lead to your digital assets being stolen.
  • Smart contract interactions: actions such as buying an NFT, approving a token transfer or minting a new token. They need a signature from your wallet and cannot be undone once confirmed on the blockchain.
  • Token approvals: a mechanism that lets a smart contract spend tokens on your behalf. A malicious approval can give an attacker unlimited access to your balance.
  • ERC-20: the standard for fungible tokens on Ethereum, meaning tokens where one unit is interchangeable with another, like USDC and USDT.
  • Private keys and seed phrases: the credentials that control a wallet. If they are stolen, the funds are gone permanently.
  • Multi-signature wallets: wallets that need several parties to approve a transaction, common for organisations and DAOs.
  • DeFi: decentralised finance, applications that offer lending, borrowing and trading through smart contracts instead of a bank.

What the target is

Rarible is an NFT marketplace, and the research focused on its user profile feature on rarible.com. Every profile carries a picture supplied by the user. The backend service that updates a profile accepts a field called photo. That field is the whole story: it was not cleaned properly, so an attacker could store arbitrary HTML and JavaScript in a profile and have it run in the browsers of anyone who viewed that profile.

An API is the part of a website that accepts requests and returns data, rather than showing pages to a person. When you change your profile picture, your browser sends a request to the API with the new value. If the API trusts that value too much, it stores whatever it is given.

The report frames the bug as wormable stored XSS. Stored means the malicious value is saved on the server and served to everyone who views the profile, unlike a one-off trick that only affects the person who clicks a link. Wormable means it can spread by itself. Because the marketplace is a client-side rendered React application, an injected payload persisted across page transitions without a full reload, which is what made self-propagation plausible. Client-side rendering means the browser downloads a JavaScript application that builds the pages as you move around, instead of asking the server for a fresh page each time. The application keeps running between pages, so anything injected into it stays alive.

The platform is large: the report cites over 2 million users and more than $250M in trading volume. That scale is what turns a stored XSS from an annoyance into a serious problem.

Setting up the attack

The report does not describe a lab, tooling or test accounts. What it does establish is the precondition: a signed-in user with a profile, and the ability to send a request to the profile update API. The request shown carries a bearer JWT and a wallet signature, so the attacker needs a valid authenticated session and a wallet to sign with.

A JWT, or JSON Web Token, is a long string the site gives you after you log in. Your browser sends it with each request to prove who you are, a bit like a wristband at an event. A wallet signature is a cryptographic proof, made with your wallet, that you control a particular blockchain address. The victim needs only to view the malicious profile for the payload to execute in their browser.

The infrastructure named in the report is the API host api-mainnet.rarible.com, the endpoint path /marketplace/api/v4/users/WALLET_ADDRESS, and Cloudflare's WAF sitting in front of it. An endpoint is simply a specific address on a server that accepts a particular kind of request.

Finding the flaw

The flaw was in the backend service responsible for updating user profiles. Input validation there was insufficient to prevent HTML injection through the photo parameter, so the value was stored and later rendered as markup rather than as an image reference. The report describes this as improper sanitisation of photo in Rarible's user profile API.

Sanitisation means cleaning a value so it can only do what it is meant to do. A profile photo field should hold an image, not an HTML document. HTML is the language that describes the structure of a web page, including elements like images, links and frames. If the field accepts HTML, then anything that lets it carry an element with executable content turns every profile view into a script execution.

Exploitation

Step 1: send the crafted profile update

The attacker sends a profile update with an iframe whose src is a base64 data URL containing an HTML document with a script:

HTTP
POST /marketplace/api/v4/users/WALLET_ADDRESS HTTP/2
Host: api-mainnet.rarible.com
Content-Type: application/json
Authorization: Bearer JWT_TOKEN
...
{
  "signature": "WALLET_SIGNATURE",
  "publicKey": "WALLET_ADDRESS",
  "photo": "<iframe src=data:text/html;base64,[redacted]=></iframe>"
}

Line by line:

  • POST /marketplace/api/v4/users/WALLET_ADDRESS HTTP/2 is the request line. POST means "I am sending data to be saved". The path points at the profile of a particular wallet address. HTTP/2 is the version of the web protocol being used.
  • Host: api-mainnet.rarible.com names the server the request is for. Mainnet means the live blockchain, not a test network.
  • Content-Type: application/json tells the server the body is formatted as JSON, a common text format for structured data.
  • Authorization: Bearer JWT_TOKEN is the login proof. Bearer means "whoever carries this token is treated as the user".
  • ... stands for headers the report does not show.
  • "signature": "WALLET_SIGNATURE" is the wallet signature proving the request comes from the wallet owner.
  • "publicKey": "WALLET_ADDRESS" is the wallet address the update applies to.
  • "photo" is the profile picture field. Instead of an image, it carries an <iframe>, which is an HTML element that embeds another document inside the page. Its src is a data:text/html;base64,... URL, a way of putting a whole document into the address itself. The base64 blob decodes to a small HTML document containing a script that calls alert('XSS'), which is the proof-of-concept payload. alert pops up a dialog box, a harmless way to prove code ran.

What it states is that the value was stored and that the payload persisted in the victim's profile.

Step 2: understand why the WAF did not stop it

Cloudflare's WAF blocked simple payloads such as:

HTML
<script>alert('xss')</script>

This is the most obvious form of the attack: a script tag with a short script inside. A WAF that looks for the word script will catch it. The bypass used a base64-encoded iframe injection, and the report gives three reasons it works:

  1. The WAF examines the raw request and sees only base64-encoded data, not the script. Base64 is a way of writing any data using only letters, digits and a few symbols, so the script is hidden inside what looks like meaningless text.
  2. The browser decodes the base64 and executes the hidden JavaScript. The browser understands the data URL and turns it back into a document.
  3. Data URLs allow embedding a complete HTML document inside an iframe. The iframe is just a frame; the document inside it is what runs the script.

Step 3: persistence across navigation

Rarible's site uses client-side rendering with React. The malicious payload persisted across page transitions without requiring a full page reload. That is what turns a stored XSS into a worm: the script stays alive as the victim moves around the marketplace. In a traditional site, moving to a new page throws away the old page and its scripts. In a single-page application, the same JavaScript keeps running, so injected code keeps running with it.

Step 4: propagation

The report describes the worm cycle as follows:

  1. Initial infection: the attacker creates a malicious profile containing the XSS payload.
  2. Victim browsing: a user visits the infected profile and the payload executes in their browser.
  3. Profile modification: the malicious script updates the victim's own profile with the same payload.
  4. Viral spread: the victim's followers and other marketplace browsers become infected.
  5. Exponential growth: each infected user becomes a vector for further spread.

Root cause

The mistake is missing sanitisation of the photo parameter in the profile update backend. The field was meant to hold an image reference, but improper sanitisation let an <iframe> with a data URL survive into the page. The report attributes the failure to insufficient input validation in that backend service.

The existing defences did not stop it for two reasons. First, the WAF matched on the raw request body, and base64 encoding hid the script from it. Second, the application layer's input validation was insufficient to catch the payload, so there was little behind the WAF to stop it. The client-side rendering architecture then made the stored payload longer-lived than it would be in a server-rendered application, because the single-page app keeps state between page changes.

Impact

The report is careful to note that Rarible patched the vulnerability in under two hours after disclosure, preventing exploitation in the wild. The impact described is therefore what could have happened had the bug been weaponised. During the roughly two-hour exposure window, millions in digital assets were potentially at risk across Rarible's user base.

The scenarios the report sets out:

  • Wallet takeover: victims could be prompted to unknowingly approve unlimited ERC-20 token transfers through manipulated MetaMask popups, granting attackers access to entire token balances. MetaMask is a browser extension that holds your wallet and asks you to approve transactions.
  • Fake listings: prices of popular NFTs such as Bored Ape Yacht Club and CryptoPunks could be altered client-side to bait purchases at inflated rates, with funds redirected to attacker wallets.
  • Profile hijacking: once a signed-in victim viewed a malicious profile, their authentication tokens could be stolen and their account auto-infected, spreading the worm through their social network.
  • Brand abuse: verified collections could be spoofed with fake verification badges, eroding trust and potentially damaging artist reputations.
  • Market manipulation: coordinated attacks could create artificial demand or panic selling by displaying false floor prices or trading volumes.

On the Web3-specific side, the report lists what injected scripts could do to blockchain interactions:

  • MetaMask manipulation: modify transaction parameters before the user signs them.
  • Phishing integration: fake wallet connection prompts to harvest private keys or seed phrases.
  • Contract interaction hijacking: redirect legitimate NFT purchases to attacker-controlled addresses.
  • Gas fee manipulation: inflate transaction fees and send the excess to attacker wallets. Gas is the fee paid to have a transaction processed on the blockchain.

More broadly, the report argues that XSS in a Web3 environment intersects with real financial assets on an immutable chain. Immutable means once a transaction is confirmed, it cannot be reversed. A single payload could drain wallets through malicious approvals, manipulate DeFi interactions, alter smart contract interactions with permanent consequences, compromise keys or seed phrases through phishing, or exploit multi-signature wallets by tricking co-signers. It also notes that blockchain addresses are pseudonymous, making attribution difficult, and that multi-chain NFT platforms multiply the attack surface.

Fix

The report states that Rarible's development team deployed a patch across all production servers, and that the fix was confirmed by the researchers through independent testing. On 04/18/22, additional security measures were implemented, including enhanced input validation.

The mitigation guidance it gives for Web3 developers is general:

  • Content Security Policy: strict CSP headers to prevent inline script execution. A CSP is a set of instructions a site sends to the browser saying which sources of code are allowed.
  • Input sanitisation: libraries such as DOMPurify for robust HTML sanitisation.
  • Output encoding: encode all user-generated content before rendering, so it is shown as text rather than run as code.
  • Security audits: regular penetration testing focused on Web3-specific attack vectors.
  • Multi-layer defence: combine WAF, application-level validation and client-side protection.

For users, it recommends verifying recipient addresses and amounts before signing, using hardware wallets for high-value transactions, keeping browsers updated and considering a dedicated browser for crypto activity, and reporting unusual behaviour or unexpected transaction prompts.

Disclosure timeline

Time Event
04/14/22 20:40 GMT-5 Vulnerability disclosed to Rarible's security team via the Bugcrowd platform.
04/14/22 21:15 GMT-5 Rarible acknowledges receipt and begins investigation.
04/14/22 22:30 GMT-5 Patch deployed across all production servers.
04/14/22 23:00 GMT-5 Fix confirmed by the researchers through independent testing.
04/16/22 $5,000 bounty awarded via the Bugcrowd responsible disclosure programme.
04/18/22 Additional security measures implemented, including enhanced input validation.

Bugcrowd is a platform where companies invite researchers to report bugs and pay rewards, called bounties, for good reports.

Variants to test

These follow from the technique in the report and are worth trying on similar targets:

  1. Base64 data URL in any stored HTML field. Submit an <iframe src=data:text/html;base64,...> value in profile fields, bios, display names or image URLs. A positive result is the payload executing when the profile is viewed, with the WAF not blocking the request.
  2. Other encodings against the WAF. The report only demonstrates base64. Try HTML entity encoding, URL encoding or mixed encodings of a script payload in the same field. A positive result is the decoded script executing in the browser while the raw request passes the filter.
  3. Client-side persistence checks. After injecting, navigate between pages in the single-page app without a full reload. A positive result is the payload still executing after route changes, which is the precondition for worm behaviour.
  4. Profile update endpoints on other platforms. Look for the same pattern: a JSON profile update that accepts a media or URL field and renders it as markup. A positive result is stored HTML executing on the public profile page.
  5. Authenticated session requirements. Confirm whether the update requires a bearer token and wallet signature, as here, and whether a stolen token alone is enough to rewrite a victim's profile. A positive result is a profile update succeeding with only the token, which is what the worm needs to self-propagate.

Glossary

  • API: the part of a website that accepts requests and returns data, rather than showing pages to a person.
  • Base64: a way of writing any data using only letters, digits and a few symbols, often used to hide content from filters that look for plain text.
  • Bearer token: a login credential sent with a request, where whoever carries it is treated as the user.
  • Blockchain: a shared record of transactions that is copied across many computers and cannot easily be changed.
  • Bugcrowd: a platform where companies invite researchers to report bugs and pay rewards for good reports.
  • Bounty: a reward paid for a valid security report.
  • Client-side rendering (CSR): a web architecture where the browser downloads a JavaScript application that builds pages as you move around, keeping state between page changes.
  • Content Security Policy (CSP): instructions a site sends to the browser saying which sources of code are allowed to run.
  • Cross-site scripting (XSS): a bug where an attacker gets their own code into a trusted website, so the site runs it in other people's browsers.
  • Data URL: a way of putting a whole document or file into a web address, often encoded as base64.
  • Endpoint: a specific address on a server that accepts a particular kind of request.
  • ERC-20: the standard for fungible tokens on Ethereum, where one unit is interchangeable with another, such as USDC and USDT.
  • Gas: the fee paid to have a transaction processed on the blockchain.
  • HTML: the language that describes the structure of a web page, including elements like images, links and frames.
  • HTML injection: getting HTML elements into a place that should only hold plain data.
  • HTTP/2: a version of the web protocol used to send requests and responses.
  • Iframe: an HTML element that embeds another document inside the current page.
  • Immutable: cannot be changed or reversed once confirmed.
  • Input validation: checking that data sent to a server is in the expected form before using it.
  • JavaScript: the programming language that runs inside web pages.
  • JSON: a common text format for structured data.
  • JWT (JSON Web Token): a long string a site gives you after login, sent with requests to prove who you are.
  • Mainnet: the live blockchain, as opposed to a test network.
  • MetaMask: a browser extension that holds a cryptocurrency wallet and asks you to approve transactions.
  • Multi-signature wallet: a wallet that needs several parties to approve a transaction, common for organisations and DAOs.
  • NFT (non-fungible token): a unique digital asset recorded on a blockchain.
  • NFT marketplace: a website where people buy, sell and trade NFTs.
  • Parameter: a named field in a request that carries a value.
  • Phishing: tricking someone into handing over credentials or approving something harmful by pretending to be a trusted party.
  • Private key / seed phrase: the credentials that control a wallet; if stolen, the funds are gone permanently.
  • Pseudonymous: using an address instead of a real name, which makes attribution difficult.
  • React: a JavaScript framework for building user interfaces, commonly used for single-page applications.
  • Sanitisation: cleaning a value so it can only do what it is meant to do.
  • Single-page application: a website that loads once and then changes pages in the browser without full reloads.
  • Smart contract: a program on a blockchain that runs automatically when conditions are met.
  • Stored XSS: XSS where the malicious value is saved on the server and served to everyone who views it.
  • Token approval: a mechanism that lets a smart contract spend tokens on your behalf.
  • Wallet: software or hardware that holds the keys to your cryptocurrency and signs transactions.
  • Wallet compromise: someone else gaining access to your wallet, which can lead to theft of digital assets.
  • Wallet signature: a cryptographic proof, made with your wallet, that you control a particular blockchain address.
  • Worm: malicious code that spreads on its own from one user or device to the next.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.