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:37.693737Z
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: * Open an issue in JIRA * Email us at XWiki Security ML

Database specific
{
    "nvd_published_at": "2022-04-08T19:15:00Z",
    "github_reviewed_at": "2022-04-08T21:59:04Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-648"
    ]
}
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

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
0Unknown introduced version / All previous versions are affected
Fixed
12.10.11

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.0.0
Fixed
13.4.6