Cross-site Scripting (XSS) - Stored in omeka/omeka-s


Reported on

Jul 6th 2021

✍️ Description

Stored xss bug using a xss payload in the Title when adding a new site. the xss is getting executed when you are trying to delete the website, see the PoC for details.

🕵️‍♂️ Proof of Concept

Goto http://localhost/omeka/omeka-s/admin/site and click on add new site copy paste the following xss payload in the Title field.

"><img src=x onerror=alert(document.cookie)>

Click on save. alt text Click on sites(1) and then click on the delete(2) button and see the xss poppin up. alt text

💥 Impact

Possible to steal admin cookies or take over another account via cookie grepping.

💥 Remediation

Validate user input


We have contacted a member of the omeka/omeka-s team and are waiting to hear back 2 years ago
omeka/omeka-s maintainer validated this vulnerability 2 years ago
ribersec has been awarded the disclosure bounty
The fix bounty is now up for grabs
omeka/omeka-s maintainer marked this as fixed with commit 4c0f3e 2 years ago
The fix bounty has been dropped
This vulnerability will not receive a CVE
to join this conversation