GHSA-jjm5-5v9v-7hx2

Suggest an improvement
Source
https://github.com/advisories/GHSA-jjm5-5v9v-7hx2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-jjm5-5v9v-7hx2/GHSA-jjm5-5v9v-7hx2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jjm5-5v9v-7hx2
Aliases
Published
2023-04-12T20:36:19Z
Modified
2023-11-08T04:12:19Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
org.xwiki.platform:xwiki-platform-security-authentication-default XSS with authenticate endpoints
Details

Impact

It was possible to inject some code using the URL of authenticate endpoints, e.g.:

https://hostname/xwiki/authenticate/wiki/xwiki%22onload=%22alert(origin)%22/resetpassword

This vulnerability was present in recent versions of XWiki:

  • 13.10.8+
  • 14.4.3+
  • 14.6+

Patches

This problem has been patched on XWiki 13.10.11, 14.4.7 and 14.10.

Workarounds

There is no easy workaround except to upgrade.

References

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2023-04-12T20:36:19Z",
    "nvd_published_at":  "2023-04-16T07:15:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

Maven
org.xwiki.platform:xwiki-platform-security-authentication-default

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13.10.8
Fixed
13.10.11

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-jjm5-5v9v-7hx2/GHSA-jjm5-5v9v-7hx2.json"
org.xwiki.platform:xwiki-platform-security-authentication-default

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14.4.3
Fixed
14.4.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-jjm5-5v9v-7hx2/GHSA-jjm5-5v9v-7hx2.json"
org.xwiki.platform:xwiki-platform-security-authentication-default

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14.6
Fixed
14.10

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-jjm5-5v9v-7hx2/GHSA-jjm5-5v9v-7hx2.json"