comment out causes information disclosure
The homepage title field on a Shopify admin settings page did not properly handle HTML comment and tag characters, causing page content to be disclosed where the title should appear. An attacker could potentially leak sensitive data such as cart tokens, checkout tokens, emails, and session hashes if those values appear in the page source.
- Fixed in 11 hours
- Disclosed after 32 hours
Hi there
Go to General setting (https://your-domain.myshopify.com/admin/settings/general), set Homepage Title to <!-- and change Name to "> plus HTML Tag like words. Some data will be leaked in the place of Title in the home page. This is dangerous because sometimes title contains highly confidential data such as cart_token, checkout_token, email, session_hash, and so on. Ticket ID is 1559798.
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 homepage title was inserted into the page without proper HTML encoding, so comment and tag characters changed how the surrounding page was parsed and exposed content.
Impact
Sensitive values such as cart tokens, checkout tokens, emails, and session hashes could be exposed on the home page, though the report does not demonstrate a full attack chain.
What the attacker needed
Access to Shopify admin settings; ability to edit homepage title and name
How it was found
- Open the general settings page in the Shopify admin.
- Set the homepage title to an HTML comment opener.
- Change the name to a value containing a quote and HTML-like tag words.
- View the home page and observe leaked data where the title should be.
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.
A shop owner can set the title shown on their homepage. The report says that if you type special characters like an HTML comment opener into that title, the page shows hidden information instead of the title. That hidden information could include private details about shoppers, which is why it matters.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.