Lookup for vulnerable packages by Package URL.
| Purl | pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10-rc-1 |
| Type | maven |
| Namespace | org.xwiki.platform |
| Name | xwiki-platform-oldcore |
| Version | 15.10-rc-1 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | false |
| Next_non_vulnerable_version | 15.10.6 |
| Latest_non_vulnerable_version | 17.10.1 |
| Affected_by_vulnerabilities |
|
| Fixing_vulnerabilities |
| 0 |
| url |
VCID-gtbq-9wht-6qg2 |
| vulnerability_id |
VCID-gtbq-9wht-6qg2 |
| summary |
XWiki Platform remote code execution from account via custom skins support
### Impact
Any user who can edit any page like their profile can create a custom skin with a template override that is executed with programming right, thus allowing remote code execution.
To reproduce, as a user without edit, script or admin right, add an object of class `XWiki.XWikiSkins` to your profile. Name it whatever you want and set the Base Skin to `flamingo`.
Add an object of class `XWikiSkinFileOverrideClass` and set the path to `macros.vm` and the content to:
```
#macro(mediumUserAvatar $username)
#resizedUserAvatar($username 50)
$services.logging.getLogger('Skin').error("I got programming: $services.security.authorization.hasAccess('programming')")
#end
```
Back to your profile, click `Test this skin`. Force a refresh, just in case.
If the error "Skin - I got programming: true" gets logged, the installation is vulnerable.
### Patches
This has been patched in XWiki 14.10.19, 15.5.4 and 15.10RC1.
### Workarounds
We're not aware of any workaround except upgrading.
### References
* https://jira.xwiki.org/browse/XWIKI-21478
* https://github.com/xwiki/xwiki-platform/commit/3d4dbb41f52d1a6e39835cfb1695ca6668605a39 (>= 15.8 RC1)
* https://github.com/xwiki/xwiki-platform/commit/da177c3c972e797d92c1a31e278f946012c41b56 (< 15.8 RC1) |
| references |
| 0 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2024-31987 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96044 |
| published_at |
2026-04-02T12:55:00Z |
|
| 1 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.9609 |
| published_at |
2026-04-26T12:55:00Z |
|
| 2 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96089 |
| published_at |
2026-04-21T12:55:00Z |
|
| 3 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96088 |
| published_at |
2026-04-18T12:55:00Z |
|
| 4 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96082 |
| published_at |
2026-04-16T12:55:00Z |
|
| 5 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96072 |
| published_at |
2026-04-13T12:55:00Z |
|
| 6 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.9607 |
| published_at |
2026-04-12T12:55:00Z |
|
| 7 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96067 |
| published_at |
2026-04-09T12:55:00Z |
|
| 8 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96065 |
| published_at |
2026-04-08T12:55:00Z |
|
| 9 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96055 |
| published_at |
2026-04-07T12:55:00Z |
|
| 10 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.9605 |
| published_at |
2026-04-04T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2024-31987 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
| reference_url |
https://jira.xwiki.org/browse/XWIKI-21478 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
10 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
|
| 1 |
| value |
9.9 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
|
| 2 |
| value |
CRITICAL |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
| 3 |
| value |
Track* |
| scoring_system |
ssvc |
| scoring_elements |
SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2024-08-20T17:31:03Z/ |
|
|
| url |
https://jira.xwiki.org/browse/XWIKI-21478 |
|
| 7 |
|
| 8 |
|
|
| fixed_packages |
|
| aliases |
CVE-2024-31987, GHSA-cv55-v6rw-7r5v
|
| risk_score |
4.5 |
| exploitability |
0.5 |
| weighted_severity |
9.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-gtbq-9wht-6qg2 |
|
| 1 |
| url |
VCID-sr4u-a9ek-u3g9 |
| vulnerability_id |
VCID-sr4u-a9ek-u3g9 |
| summary |
XWiki Platform: Privilege escalation (PR) from user registration through PDFClass
### Impact
Remote code execution is possible via PDF export templates.
To reproduce on an installation, register a new user account with username `PDFClass` if `XWiki.PDFClass` does not exist.
On `XWiki.PDFClass`, use the class editor to add a "style" property of type "TextArea" and content type "Plain Text".
Then, add an object of class `PDFClass` and set the "style" attribute to `$services.logging.getLogger('PDFClass').error("I got programming: $services.security.authorization.hasAccess('programming')")`.
Finally, go to `<host>/xwiki/bin/export/Main/WebHome?format=pdf&pdftemplate=XWiki.PDFClass`. If the logs contain "ERROR PDFClass - I got programming: true", the instance is vulnerable.
### Patches
This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10-rc-1.
### Workarounds
If PDF templates are not typically used on the instance, an administrator can create the document `XWiki.PDFClass` and block its edition, after making sure that it does not contain a `style` attribute.
Otherwise, the instance needs to be updated.
### References
- https://jira.xwiki.org/browse/XWIKI-21337
- https://github.com/xwiki/xwiki-platform/commit/d28e21a670c69880b951e415dd2ddd69d273eae9 |
| references |
| 0 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2024-31981 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96044 |
| published_at |
2026-04-02T12:55:00Z |
|
| 1 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.9609 |
| published_at |
2026-04-26T12:55:00Z |
|
| 2 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96089 |
| published_at |
2026-04-21T12:55:00Z |
|
| 3 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96088 |
| published_at |
2026-04-18T12:55:00Z |
|
| 4 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96082 |
| published_at |
2026-04-16T12:55:00Z |
|
| 5 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96072 |
| published_at |
2026-04-13T12:55:00Z |
|
| 6 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.9607 |
| published_at |
2026-04-12T12:55:00Z |
|
| 7 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96067 |
| published_at |
2026-04-09T12:55:00Z |
|
| 8 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96065 |
| published_at |
2026-04-08T12:55:00Z |
|
| 9 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.96055 |
| published_at |
2026-04-07T12:55:00Z |
|
| 10 |
| value |
0.24138 |
| scoring_system |
epss |
| scoring_elements |
0.9605 |
| published_at |
2026-04-04T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2024-31981 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
| reference_url |
https://jira.xwiki.org/browse/XWIKI-21337 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
10 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
|
| 1 |
| value |
9.9 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
|
| 2 |
| value |
CRITICAL |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
| 3 |
| value |
Track |
| scoring_system |
ssvc |
| scoring_elements |
SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-06-26T17:31:37Z/ |
|
|
| url |
https://jira.xwiki.org/browse/XWIKI-21337 |
|
| 7 |
|
| 8 |
|
|
| fixed_packages |
|
| aliases |
CVE-2024-31981, GHSA-vxwr-wpjv-qjq7
|
| risk_score |
4.5 |
| exploitability |
0.5 |
| weighted_severity |
9.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-sr4u-a9ek-u3g9 |
|
|
| Risk_score | null |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10-rc-1 |