Stored XSS in intensedebate.com via the Comments RSS
The blog post title was reflected unencoded into the comments RSS feed, allowing an attacker to inject a script that executes when any user views the feed. This stored cross-site scripting could run arbitrary JavaScript in the context of the intensedebate.com domain.
- Fixed in 14 days
- Paid in 16 days
- Disclosed after 3 months
Summary by the program
Stored XSS in intensedebate.com via the Comments RSS
Summary by the researcher
In our "comments.rss" file, the blog post's title reflects to the XML (RSS) file without any encoding. So I installed the IntenseDebate on my website (https://wp.s2.cm), and created a blog post with <a:script xmlns:a="http://www.w3.org/1999/xhtml">alert(document.domain)</a:script> payload on the title. Then, I created a comment on that blog post with my IntenseDebate account.
And the XSS fired on my comments.rss file: https://www.intensedebate.com/people/kinqlesse/comments.rss
Any user can see that file, so the XSS affects all users. The blog title should reflect to the RSS file with HTML encoding.
For reproducing the attack on your profile :
- Setup the IntenseDebate on your own website
- Create a blog post with the
<a:script xmlns:a="http://www.w3.org/1999/xhtml">alert(document.domain)</a:script>title - Create a comment on that blog post with your IntenseDebate account
- Go to your account's
comments.rssfile, and the XSS will fire.
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 application failed to HTML-encode the blog post title before inserting it into the RSS XML output.
Impact
Any user who views the comments RSS feed could have arbitrary JavaScript executed in their browser under the intensedebate.com origin.
What the attacker needed
IntenseDebate installed on a website; Ability to create a blog post; An IntenseDebate account; Victim views the comments RSS feed
How it was found
- Set up IntenseDebate on your own website.
- Create a blog post with a script payload in the title.
- Create a comment on that blog post using your IntenseDebate account.
- Visit your account's comments.rss file, where the script executes.
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.
When a website shows user-supplied text without cleaning it, an attacker can include code that runs in visitors' browsers. Here, a blog post title was placed into an RSS feed without encoding, so a script hidden in the title ran for anyone who opened the feed. This is called stored cross-site scripting because the malicious content is saved and later shown to others.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.