Skip to content
XSS Disclosed report Beginner

XSS in select attribute options

sunny0day Follow

Originally disclosed on HackerOne

  • Triaged in 4 months
  • Fixed in 4 months
  • Disclosed after 5 months

To reproduce

  1. Create a new select attribute.
  2. Add a select attribute option with value <script>alert('XSS')</script> and hit Save.
  3. Edit the newly created attribute again and see XSS dialog.

The vulnerability lays in the type_form.php file, see https://github.com/concrete5/concrete5/blob/develop/concrete/attributes/select/type_form.php#L40

Unauthenticated use

The vuln can be pretty bad if the website has an Express Form with select attribute associated with it that "Allow users to add to this list.". In that case, an (unauthenticated) user can submit a form that results to stored XSS.

Screenshot

xss-select-attribute.png
xss-select-attribute.png From the original on HackerOne

Impact

Stored XSS on /index.php/dashboard/pages/attributes/edit/xxx page and when editing an Express Form block.

The original report as published on HackerOne, by sunny0day. 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.

What is known

A low-severity XSS bug in https://github.com/concrete5/concrete5, rated CVSS 1.9. HackerOne made it public on 29 April 2020.

About XSS

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

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is XSS?

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

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.