GHSA-5c66-v29h-xjh8

Suggest an improvement
Source
https://github.com/advisories/GHSA-5c66-v29h-xjh8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-5c66-v29h-xjh8/GHSA-5c66-v29h-xjh8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5c66-v29h-xjh8
Aliases
Published
2021-04-22T16:11:55Z
Modified
2023-11-08T04:05:34.806861Z
Severity
  • 9.6 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L CVSS Calculator
Summary
XSS Cross Site Scripting
Details

Impact

It is possible to persistently inject scripts in XWiki.

For unregistred users: - By filling simple text fields

For registered users: - By filling their personal information - (if they have edit rights) By filling the values of static lists using App Within Minutes

That can lead to user's session hijacking, and if used in conjunction with a social engineering attack it can also lead to disclosure of sensitive data, CSRF attacks and other security vulnerabilities. That can also lead to the attacker taking over an account. If the victim has administrative rights it might even lead to code execution on the server, depending on the application and the privileges of the account.

Patches

It has been patched on XWiki 12.8 and 12.6.3.

Workarounds

There is no easy workaround except upgrading XWiki.

References

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

For more information

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

Database specific
{
    "nvd_published_at": "2021-04-20T19:15:00Z",
    "github_reviewed_at": "2021-04-20T18:36:33Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
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.6.3

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
12.6.4
Fixed
12.8

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

Package

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

Affected ranges

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

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

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12.6.4
Fixed
12.8