The function SablierV2NFTDescriptor::safeAssetSymbol
includes a check designed to mitigate potential script injections into the symbol string. However, the current limit does not provide complete security.
The smallest possible XSS, assuming control over the HTML tag (but not the URL), is as follows: <svg/onload=eval(name)>
If name is a single letter, the total length would be 20. This means that in several scenarios, it is still feasible to inject scripts into the symbol string.
Likelyhood: Low
The probability of executing a minimal XSS is low, as several conditions must be met.
Impact: High (but not on the protocol)
Potential for script injection on websites that integrate Sablier NFTs.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.