CVE-2023-29508: org.xwiki.platform:xwiki-platform-livedata-macro vulnerable to Cross-site Scripting
Impact A user without script rights can introduce a stored XSS by using the Live Data macro, if the last author of the content of the page has script rights.
For instance, by adding the LiveData below in the about section of the profile of a user created by an admin.
javascript {{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}}
Patches This has been patched in XWiki 14.10, 14.4.7, and 13.10.11.
Workarounds No known workaround.
References - https://jira.xwiki.org/browse/XWIKI-20312
For more information If you have any questions or comments about this advisory:
Open an issue in Jira Email us at Security ML
Other sources
XWiki Commons are technical libraries common to several other top level XWiki projects. A user without script rights can introduce a stored XSS by using the Live Data macro, if the last author of the content of the page has script rights. This has been patched in XWiki 14.10, 14.4.7, and 13.10.11.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2023-29508?
CVE-2023-29508 is classified as a medium severity vulnerability due to the potential for stored XSS attacks.
How do I fix CVE-2023-29508?
To mitigate CVE-2023-29508, upgrade to XWiki version 14.10 or versions 14.4.7 and later.
What does CVE-2023-29508 affect?
CVE-2023-29508 affects XWiki versions prior to 14.10 and between 14.4.0 and 14.4.7.
Can an attacker exploit CVE-2023-29508 remotely?
Yes, an attacker can exploit CVE-2023-29508 remotely if they have the capability to introduce content with script rights.
Is there a patch available for CVE-2023-29508?
Yes, a patch for CVE-2023-29508 is available in the updated versions of XWiki 14.10 and 14.4.7.