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.
- Triaged in 20 days
- Fixed in 21 days
- Disclosed after 51 days
- Download Concrete5 8.5.2 and install it
- Log into your Concrete5 instance as admin
- Go to Dashboard > System settings > Express entities (/index.php/dashboard/system/express/entities)
- Сlick on the Create button
- in the field Name paste the following text:
</h1><script>alert(1)</script><h1> - 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.
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
- Install Concrete5 8.5.2 and log in as admin.
- Open the Express entities page in the dashboard.
- Create a new entity and put a script payload in the Name field.
- 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.