GHSA-ghcq-472w-vf4h

Suggest an improvement
Source
https://github.com/advisories/GHSA-ghcq-472w-vf4h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-ghcq-472w-vf4h/GHSA-ghcq-472w-vf4h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-ghcq-472w-vf4h
Aliases
Published
2022-04-08T21:59:04Z
Modified
2023-11-08T04:08:37Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N CVSS Calculator
Summary
Incorrect Use of Privileged APIs in org.xwiki.platform.skin.skinx
Details

Impact

Simple users can create global SSX/JSX without specific rights: in theory only users with Programming Rights should be allowed to create SSX or JSX that are executed everywhere on a wiki. But a bug allow anyone with edit rights to actually create those.

Patches

This issue has been patched in XWiki 13.10-rc-1, 12.10.11 and 13.4.6.

Workarounds

There's no easy workaround for this issue, administrators should upgrade their wiki.

References

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

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "cwe_ids":  [
        "CWE-648"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-04-08T21:59:04Z",
    "nvd_published_at":  "2022-04-08T19:15:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

Maven
org.xwiki.platform:xwiki-platform-skin-skinx

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13.5.0
Fixed
13.10

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-ghcq-472w-vf4h/GHSA-ghcq-472w-vf4h.json"
org.xwiki.platform:xwiki-platform-skin-skinx

Package

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

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-ghcq-472w-vf4h/GHSA-ghcq-472w-vf4h.json"
org.xwiki.platform:xwiki-platform-skin-skinx

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13.0.0
Fixed
13.4.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-ghcq-472w-vf4h/GHSA-ghcq-472w-vf4h.json"