Skip to content
XSS Disclosed report Beginner

Stored XSS on express entries

The name field of an Express entity in Concrete5 was not sanitised, so an administrator could store a script payload that executed when the entity was viewed. An attacker with admin rights could send another administrator a link to the created object and run script in their browser.

solov9ev Follow

Originally disclosed on HackerOne

  • Triaged in 20 days
  • Fixed in 21 days
  • Disclosed after 51 days
  1. Download Concrete5 8.5.2 and install it
  2. Log into your Concrete5 instance as admin
  3. Go to Dashboard > System settings > Express entities (/index.php/dashboard/system/express/entities)
  4. Сlick on the Create button
  5. in the field Name paste the following text: </h1><script>alert(1)</script><h1>
  6. Go to tab View Objects

Impact

If the user was added to the group of administrators, then he can create an express object with a payload in the name and give a link to another administrator to view the created object.

The original report as published on HackerOne, by solov9ev. 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 Express entity name was rendered into the page without output encoding or sanitisation.

Impact

Script could run in another administrator's browser when they viewed the crafted entity, but only an attacker who already holds administrator rights could create it.

What the attacker needed

Administrator account on the Concrete5 site; victim admin opens a link to the entity

How it was found

  1. Install Concrete5 8.5.2 and log in as admin.
  2. Open the Express entities page in the dashboard.
  3. Create a new entity and put a script payload in the Name field.
  4. Go to the View Objects tab.

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 stored cross-site scripting (XSS) bug means text a user saves is later shown to other users without being made safe, so any code hidden in that text runs in their browser. Here the 'name' of an Express entity (a custom content type in Concrete5) was saved and displayed without cleaning, so a script tag placed in the name ran when someone opened the entity. The catch is that only an administrator could create the entity in the first place.

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 solov9ev

View all

10 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.