GHSA-9jq9-c2cv-pcrj

Suggest an improvement
Source
https://github.com/advisories/GHSA-9jq9-c2cv-pcrj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-9jq9-c2cv-pcrj/GHSA-9jq9-c2cv-pcrj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9jq9-c2cv-pcrj
Aliases
Published
2022-02-10T22:42:48Z
Modified
2023-11-08T04:07:14.285702Z
Severity
  • 4.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N CVSS Calculator
Summary
Cross-site Scripting by SVG upload in xwiki-platform
Details

Impact

When using default XWiki configuration, it's possible for an attacker to upload an SVG containing a script executed when executing the download action on the file.

Patches

This problem has been patched so that the default configuration doesn't allow to display the SVG files in the browser.

Workarounds

This issue can be fixed without the patch by setting properly the configuration to download or display files, see: https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentdisplayordownload

References

https://jira.xwiki.org/browse/XWIKI-18368

For more information

If you have any questions or comments about this advisory: * Open an issue in Jira * Email us at security ML

References

Affected packages

Maven / org.xwiki.platform:xwiki-platform-oldcore

Package

Name
org.xwiki.platform:xwiki-platform-oldcore
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-oldcore

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
12.10.6

Maven / org.xwiki.platform:xwiki-platform-oldcore

Package

Name
org.xwiki.platform:xwiki-platform-oldcore
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-oldcore

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13.0
Fixed
13.3RC1

Database specific

{
    "last_known_affected_version_range": "<= 13.2"
}

Maven / org.xwiki.platform:xwiki-platform-tool-configuration-resources

Package

Name
org.xwiki.platform:xwiki-platform-tool-configuration-resources
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13.0
Fixed
13.3RC1

Database specific

{
    "last_known_affected_version_range": "<= 13.2"
}

Maven / org.xwiki.platform:xwiki-platform-tool-configuration-resources

Package

Name
org.xwiki.platform:xwiki-platform-tool-configuration-resources
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
12.10.6