[xwiki/xwiki-platform] 2e5571: XWIKI-23891: Resources that are referenced without...
Branch: refs/heads/stable-18.0.x Home: https://github.com/xwiki/xwiki-platform Commit: 2e5571681f4254b56f139cc4e7aa5f755edbf3f7 https://github.com/xwiki/xwiki-platform/commit/2e5571681f4254b56f139cc4e7aa5... Author: Michael Hamann <michael.hamann@xwiki.com> Date: 2026-01-15 (Thu, 15 Jan 2026) Changed paths: M xwiki-platform-core/xwiki-platform-webjars/xwiki-platform-webjars-api/src/main/java/org/xwiki/webjars/internal/FilesystemResourceReferenceCopier.java Log Message: ----------- XWIKI-23891: Resources that are referenced without quotes aren't extracted from CSS WebJar resources during export * Make the regular expression stricter to avoid slow matching. (cherry picked from commit 35539513915b76b1e90f450461f2847f9f50e93b) Commit: b66f96b08dcbb3b1ce1de8d106588a7b260de9dd https://github.com/xwiki/xwiki-platform/commit/b66f96b08dcbb3b1ce1de8d106588... Author: Michael Hamann <michael.hamann@xwiki.com> Date: 2026-01-15 (Thu, 15 Jan 2026) Changed paths: M xwiki-platform-core/xwiki-platform-webjars/xwiki-platform-webjars-api/src/main/java/org/xwiki/webjars/internal/FilesystemResourceReferenceCopier.java M xwiki-platform-core/xwiki-platform-webjars/xwiki-platform-webjars-api/src/test/java/org/xwiki/webjars/internal/FilesystemResourceReferenceCopierTest.java Log Message: ----------- XWIKI-23902: Protect against path traversal from WebJar * Detect path traversal both in URLs in CSS and when copying resources. * Add tests. (cherry picked from commit 9f747fcd3200259a1de51957d3f5f6acc8e3816c) Compare: https://github.com/xwiki/xwiki-platform/compare/65e63d811f71...b66f96b08dcb To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications