ADVISORIES

GitHub Advisory Database

GHSA-6gf5-c898-7rxp

Improper Neutralization of Script in Attributes in XWiki (X)HTML renderers

Critical CVE-2023-32070

Details

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:

Affected packages

EcosystemPackageAffected versions
Mavenorg.xwiki.rendering:xwiki-rendering-syntax-xhtml
All versions before 14.6-rc-1 (fixed in 14.6-rc-1)
Mavenorg.xwiki.platform:xwiki-core-rendering-api
All versions up to and including 3.0-milestone-2
Mavenorg.xwiki.rendering:xwiki-rendering-syntax-html
All versions before 14.6-rc-1 (fixed in 14.6-rc-1)
Mavenorg.xwiki.rendering:xwiki-rendering-syntax-html5
All versions before 14.6-rc-1 (fixed in 14.6-rc-1)
Mavenorg.xwiki.rendering:xwiki-rendering-syntax-annotatedxhtml
All versions before 14.6-rc-1 (fixed in 14.6-rc-1)
Mavenorg.xwiki.rendering:xwiki-rendering-syntax-annotatedhtml5
All versions before 14.6-rc-1 (fixed in 14.6-rc-1)
Mavenorg.xwiki.platform:xwiki-platform-annotation-core
All versions before 14.6-rc-1 (fixed in 14.6-rc-1)

References