Security mailing lists by PureSourceCode

CVE-2023-36471

MEDIUM 5.4CVSS 3.1

org.xwiki.commons:xwiki-commons-xml's HTML sanitizer allows form elements in restricted

Xwiki commons is the common modules used by other XWiki top level projects. The HTML sanitizer that is included in XWiki since version 14.6RC1 allowed form and input HTML tags. In the context of XWiki, this allows an attacker without script right to either create forms that can be used for phishing attacks or also in the context of a sheet, the attacker could add an input like {{html}}<input type="hidden" name="content" value="{{groovy}}println(&quot;Hello from Groovy!&quot;)" />{{/html}} that would allow remote code execution when it is submitted by an admin (the sheet is rendered as part of the edit form). The attacker would need to ensure that the edit form looks plausible, though, which can be non-trivial as without script right the attacker cannot display the regular content of the document. This has been patched in XWiki 14.10.6 and 15.2RC1 by removing the central form-related tags from the list of allowed tags. Users are advised to upgrade. As a workaround an admin can manually disallow the tags by adding form, input, select, textarea, button to the configuration option xml.htmlElementSanitizer.forbidTags in the xwiki.properties configuration file.

Published
29 Jun 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-74CWE-79
Also known as
GHSA-6pqf-c99p-758v
Sources
NVDJSONOSV GHSA-6pqf-c99p-758vJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD xwiki commons
cpe:2.3:a:xwiki:commons:*:*:*:*:*:*:*:*
>= 14.6, < 14.10.6 14.10.6
NVD xwiki commons
cpe:2.3:a:xwiki:commons:15.0:-:*:*:*:*:*:*
= 15.0
NVD xwiki commons
cpe:2.3:a:xwiki:commons:15.0:rc1:*:*:*:*:*:*
= 15.0
NVD xwiki commons
cpe:2.3:a:xwiki:commons:15.1:-:*:*:*:*:*:*
= 15.1
NVD xwiki commons
cpe:2.3:a:xwiki:commons:15.1:rc1:*:*:*:*:*:*
= 15.1
OSV Maven org.xwiki.commons:xwiki-commons-xml >= 14.6-rc-1, < 14.10.6 14.10.6
OSV Maven org.xwiki.commons:xwiki-commons-xml >= 15.0-rc-1, < 15.2-rc-1 15.2-rc-1

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 29 Jun 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Jun 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.