Skip to content

Multiple instances of stored cross-site scripting (XSS) via HTML and raw macro

Critical
tmortagne published GHSA-vxf7-mx22-jr24 Apr 12, 2023

Package

maven org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven)

Affected versions

< 14.8RC1

Patched versions

14.8RC1

Description

Impact

The HTML macro does not systematically perform a proper neutralization of script-related html tags. As a result, any user able to use the html macro in XWiki, is able to introduce an XSS attack. This can be particularly dangerous since in a standard wiki, any user is able to use the html macro directly in their own user profile page.

Patches

The problem has been patched in XWiki 14.8RC1. The patch involve that the HTML macro are systematically cleaned up whenever the user does not have script right.

Workarounds

There's no workaround for this issue.

References

For more information

If you have any questions or comments about this advisory:

Severity

Critical
9.9
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CVE ID

CVE-2023-29205

Weaknesses