GitHub Advisoryadvisory · Maven

GHSA-hmm7-6ph9-8jf2 org.xwiki.platform:xwiki-platform-livedata-macro vulnerable to Basic Cross-site Scripting

HIGH Published 2023-04-12 Modified 2025-02-06 Official page ↗
Aliases
CVE-2023-29508
Ecosystem
Maven
Packages
org.xwiki.platform:xwiki-platform-livedata-macro
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
Weaknesses
CWE-79, CWE-80
Reviewed
2023-04-12

Affected packages

• Maven org.xwiki.platform:xwiki-platform-livedata-macro: >= 13.10.10, < 13.10.11 → fixed in 13.10.11 • Maven org.xwiki.platform:xwiki-platform-livedata-macro: >= 14.4, < 14.4.7 → fixed in 14.4.7 • Maven org.xwiki.platform:xwiki-platform-livedata-macro: >= 14.9, < 14.10 → fixed in 14.10

Description

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": "" } ] }, "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

Related

Alias · CVE (1)

  • CVE-2023-29508 XWiki Commons are technical libraries common to several other top level XWiki projects. vulnerability

Weakness · CWE (2)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness
  • CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page weakness

References