GitHub Advisoryadvisory · Maven

GHSA-6gf5-c898-7rxp Improper Neutralization of Script in Attributes in XWiki (X)HTML renderers

CRITICAL Published 2023-05-11 Modified 2023-05-11 Official page ↗
Aliases
CVE-2023-32070
Ecosystem
Maven
Packages
org.xwiki.rendering:xwiki-rendering-syntax-xhtml, org.xwiki.platform:xwiki-core-rendering-api, org.xwiki.rendering:xwiki-rendering-syntax-html, org.xwiki.rendering:xwiki-rendering-syntax-html5, org.xwiki.rendering:xwiki-rendering-syntax-annotatedxhtml, org.xwiki.rendering:xwiki-rendering-syntax-annotatedhtml5, org.xwiki.platform:xwiki-platform-annotation-core
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Weaknesses
CWE-79, CWE-83
Reviewed
2023-05-11

Affected packages

• Maven org.xwiki.rendering:xwiki-rendering-syntax-xhtml: < 14.6-rc-1 → fixed in 14.6-rc-1 • Maven org.xwiki.platform:xwiki-core-rendering-api: <= 3.0-milestone-2 (no fix yet) • Maven org.xwiki.rendering:xwiki-rendering-syntax-html: < 14.6-rc-1 → fixed in 14.6-rc-1 • Maven org.xwiki.rendering:xwiki-rendering-syntax-html5: < 14.6-rc-1 → fixed in 14.6-rc-1 • Maven org.xwiki.rendering:xwiki-rendering-syntax-annotatedxhtml: < 14.6-rc-1 → fixed in 14.6-rc-1 • Maven org.xwiki.rendering:xwiki-rendering-syntax-annotatedhtml5: < 14.6-rc-1 → fixed in 14.6-rc-1 • Maven org.xwiki.platform:xwiki-platform-annotation-core: < 14.6-rc-1 → fixed in 14.6-rc-1

Description

Impact HTML rendering didn't check for dangerous attributes/attribute values. This allowed cross-site scripting (XSS) attacks via attributes and link URLs, e.g., supported in XWiki syntax. Patches This has been patched in XWiki 14.6 RC1. Workarounds There are no known workarounds apart from upgrading to a fixed version. References • https://github.com/xwiki/xwiki-rendering/commit/c40e2f5f9482ec6c3e71dbf1fff5ba8a5e44cdc1 • https://jira.xwiki.org/browse/XRENDERING-663 For more information If you have any questions or comments about this advisory: • Open an issue in Jira XWiki.org • Email us at Security Mailing List

Related

Alias · CVE (1)

  • CVE-2023-32070 XWiki Platform is a generic wiki platform. vulnerability

Weakness · CWE (2)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness
  • CWE-83 Improper Neutralization of Script in Attributes in a Web Page weakness

References