Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2021-43841 — xwiki-platform-oldcore

MEDIUMFix: xwiki/xwiki-platform@5853d49

CVE-2021-43841 is a medium-severity (CVSS 5.4) Cross-site Scripting (XSS) vulnerability in org.xwiki.platform:xwiki-platform-oldcore. 1 public exploit reference exists, so weaponization risk is real. A fix is available for org.xwiki.platform:xwiki-platform-oldcore — see the affected versions and patch details below.

Cross-site Scripting by SVG upload in xwiki-platform

Also known asGHSA-9jq9-c2cv-pcrj
Published
Updated
Affected
4 pkgs
Patched
4 / 4
Exploits
1 known
Exploitation data as of Oct 7, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.

Exploitation and automatability from CISA’s SSVC triage for CVE-2021-43841.

EPSS Exploitation Probability

via FIRST.org ↗
0.9%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs58th percentile — riskier than 58% of all scored CVEsHighest risk
0.00%0.46%0.91%1.37%0.5%0.9%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2021-43841 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

4 pkgs affected
☕org.xwiki.platform:xwiki-platform-oldcore☕org.xwiki.platform:xwiki-platform-oldcore☕org.xwiki.platform:xwiki-platform-tool-configuration-resources☕org.xwiki.platform:xwiki-platform-tool-configuration-resources

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Impact

When using default XWiki configuration, it's possible for an attacker to upload an SVG containing a script executed when executing the download action on the file.

Patches

This problem has been patched so that the default configuration doesn't allow to display the SVG files in the browser.

Workarounds

This issue can be fixed without the patch by setting properly the configuration to download or display files, see: https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentdisplayordownload

References

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

For more information

If you have any questions or comments about this advisory:

Affected Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.xwiki.platform:xwiki-platform-oldcoreall versions12.10.6org.xwiki.platform:xwiki-platform-oldcore:12.10.6
☕Mavenorg.xwiki.platform:xwiki-platform-oldcore≥ 13.0&&< 13.3RC113.3RC1org.xwiki.platform:xwiki-platform-oldcore:13.3RC1
☕Mavenorg.xwiki.platform:xwiki-platform-tool-configuration-resources≥ 13.0&&< 13.3RC113.3RC1org.xwiki.platform:xwiki-platform-tool-configuration-resources:13.3RC1
☕Mavenorg.xwiki.platform:xwiki-platform-tool-configuration-resourcesall versions12.10.6org.xwiki.platform:xwiki-platform-tool-configuration-resources:12.10.6

Affected Products

1 product · 2 configurations
Application
xwikixwiki
≥ 13.0 && ≤ 13.2
range
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-oldcore, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.xwiki.platform:xwiki-platform-oldcore to 12.10.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-43841 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

### Impact When using default XWiki configuration, it's possible for an attacker to upload an SVG containing a script executed when executing the download action on the file. ### Patches This problem has been patched so that the default configuration doesn't allow to display the SVG files in the browser. ### Workarounds This issue can be fixed without the patch by setting properly the configuration to download or display files, see: https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentdisplayordownload ### References https://jira.xwiki.org/browse/XWIKI-18368
O3 Security · Impact-Aware SCA

Is CVE-2021-43841 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2021-43841: xwiki-platform-oldcore — Fixed in 12.10.6