# On PlantUML Macro: security vulnerabilty report for release 2.4.1

**URL:** <https://forum.xwiki.org/t/on-plantuml-macro-security-vulnerabilty-report-for-release-2-4-1/18963>\
**Category:** Help / Discuss\
**Created:** [October 10, 2026, 1:01pm UTC](https://forum.xwiki.org/t/on-plantuml-macro-security-vulnerabilty-report-for-release-2-4-1/18963 "2026-10-10T13:01:46Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricardo\_Rodriguez](https://forum.xwiki.org/user_avatar/forum.xwiki.org/ricardo_rodriguez/32/3454_2.png) [@Ricardo\_Rodriguez](https://forum.xwiki.org/u/Ricardo_Rodriguez)\
**Post date:** [October 10, 2026, 1:01pm UTC](https://forum.xwiki.org/t/on-plantuml-macro-security-vulnerabilty-report-for-release-2-4-1/18963/1 "2026-10-10T13:01:47Z")

</div>

Hi,

I’m currently running XWiki 18.7.0.

I remember moving away from the distribution-provided Tomcat packages because the Linux distribution’s support policy and XWiki’s support matrix no longer aligned well. I don’t recall the exact reasons, but I believe security considerations played an important role. If I remember correctly, I needed to migrate to Tomcat 10, which was not readily available through the distribution packages at the time.

The current software stack is composed of:

```auto
rjr@e220i057h096l:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
rjr@e220i057h096l:~$ sudo /opt/tomcat/bin/version.sh
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar
Using CATALINA_OPTS:
Server version: Apache Tomcat/10.1.60
Server built: Sep 9 2026 22:35:59 UTC
Server number: 10.1.60.0
OS Name: Linux
OS Version: 6.8.0-138-generic
Architecture: amd64
JVM Version: 21.0.12.1+1-1-22.04.4-Ubuntu
JVM Vendor: Ubuntu
APR loaded: false

Third-party libraries:
  jakartaee-migration-1.0.12-shaded.jar: 1.0.12
  ecj-4.27.jar: 3.33.0.v20230218-1114
rjr@e220i057h096l:~$ mysql -u xwiki -p -N -B -e "SELECT VERSION();"
Enter password:
8.0.46-0ubuntu0.22.04.4
rjr@e220i057h096l:~$

```

I’m preparing an update to 18.8.0, but before I would lilke to eliminate or at least understand all security vulnerabilities warnings offered by the Security Vulnerabilities extension. I understand that it is **currently experimental**.

The list in the Extension Vulnerabilities tab contains **only one entry** :

 ![image](https://forum.xwiki.org/uploads/default/original/2X/e/ed1a99ac3608379da1008e408eb805a95d20ee78.png)

The advice reads:

 ![image](https://forum.xwiki.org/uploads/default/original/2X/5/53875b1117d30ee9374f62d1eb4b5b016322ef03.png)

And I think this is the release of the PlantUML extension that we have installed:

 ![image](https://forum.xwiki.org/uploads/default/original/2X/3/3680e46ee7018760c62b6e5c8ecf87f5cf4c2376.png)

PlantUML [is working great here](https://portal.igfae.usc.es/xwiki/bin/view/Main/PlantUML/), both using local and remote rendering.

**Please, do you understand why we are still getting the warning about that security vulnerability in PlantUML macro?**

Thanks!

---

<div class="post-metadata">

**Author:** ![mleduc](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mleduc/32/2328_2.png) [@mleduc](https://forum.xwiki.org/u/mleduc)\
**Post date:** [October 12, 2026, 7:41am UTC](https://forum.xwiki.org/t/on-plantuml-macro-security-vulnerabilty-report-for-release-2-4-1/18963/2 "2026-10-12T07:41:08Z")

</div>

Thanks @Ricardo_Rodriguez

This is indeed a bug, I have created [Loading...](https://jira.xwiki.org/browse/XWIKI-25266).  
You can Ignore this false positive, sorry for the noise.

You can ignore it for now, the false positive will be gone:

- When plantuml releases a new version
- When XWIKI-25266

---

<div class="post-metadata">

**Author:** ![mleduc](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mleduc/32/2328_2.png) [@mleduc](https://forum.xwiki.org/u/mleduc)\
**Post date:** [October 15, 2026, 3:50pm UTC](https://forum.xwiki.org/t/on-plantuml-macro-security-vulnerabilty-report-for-release-2-4-1/18963/3 "2026-10-15T15:50:04Z")

</div>

[Loading...](https://jira.xwiki.org/browse/XWIKI-25266) is now fixed and will be released in 18.9.0-rc-1, 18.4.8, and 17.10.15.

---

<div class="post-metadata">

**Author:** ![Ricardo\_Rodriguez](https://forum.xwiki.org/user_avatar/forum.xwiki.org/ricardo_rodriguez/32/3454_2.png) [@Ricardo\_Rodriguez](https://forum.xwiki.org/u/Ricardo_Rodriguez)\
**Post date:** [November 14, 2026, 1:18pm UTC](https://forum.xwiki.org/t/on-plantuml-macro-security-vulnerabilty-report-for-release-2-4-1/18963/4 "2026-11-14T13:18:13Z")

</div>

Something fails after updating to XWiki 18.9.0 and PlantUML Macro to 2.5:

 ![Screenshot_20261114_140657_Edge](https://forum.xwiki.org/uploads/default/original/2X/6/6ae8b056c0d6b334abbd150b7665a19b6cf96686.jpeg)

Here what I get when I search for installed PlantUML extension/s:

 ![Screenshot_20261114_110615_Edge](https://forum.xwiki.org/uploads/default/original/2X/9/9a10434b1919d8fa22f1bfbe2a125a4d3c7e1989.jpeg)

And here below, a message that repits when upgrading extensions:

 ![Screenshot_20261114_105749_Edge](https://forum.xwiki.org/uploads/default/original/2X/6/661a5e838a63fbb9fb16e510b28941d2f94f83fd.jpeg)

Could you help me, please? I won’t try anything like uninstaling/reinstalling the extension until I get a better understanding of what is going one here. I’m happy to get an updated XWiki instance, and an updated PlantUML Macro. And I was really happy to have started creating nice PlantUML diagrams! I hope I can soon recover that functioning!

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [November 14, 2026, 2:42pm UTC](https://forum.xwiki.org/t/on-plantuml-macro-security-vulnerabilty-report-for-release-2-4-1/18963/5 "2026-11-14T14:42:01Z")

</div>

Hi @Ricardo_Rodriguez,

Thanks for the detailed report and screenshots, they made the diagnosis easy.

The problem isn’t XWiki 18.9.0 or PlantUML Macro 2.5 as such. Your wiki has a very old version of the PlantUML _library_ installed: **PlantUML 8059** (from 2015). It’s the “PlantUML 8059 by Arnaud Roques” entry in your second screenshot.

PlantUML used to have 4-digit version numbers (8059) and later moved to `1.YYYY.N` (the macro 2.5 needs `1.2026.9`). The Extension Manager compares versions numerically, so it thinks 8059 is _newer_ than 1.2026.9 and keeps it instead of installing the version the macro needs. PlantUML Macro 2.4.1 happened to work with that old library, but 2.5 uses newer PlantUML APIs (the configurable security profile) that don’t exist in 8059. That’s the red error in your install log (`SecurityProfile couldn't be found in the ClassLoader`), and it’s why the macro isn’t registered anymore (“Unknown macro: plantuml”).

To fix it, replace the PlantUML library with the right version, on the farm (root) namespace:

1. Go to _Administration \> Extensions_, click _More \> Advanced search_ and enter:
  - Extension id: `net.sourceforge.plantuml:plantuml`
  - Version: `1.2026.9`

2. Install it. This should replace version 8059.
3. Restart your servlet container so the macro is loaded against the new library.

Before doing it, it’s worth checking what requires 8059: open the “PlantUML 8059” extension details and look at which extensions depend on it. If the Extension Manager reports a conflict during step 2 (for example with “Display XWikiClass UML Diagram”), please post the message here and we’ll look at it.

Note also that, because of this, your diagrams were rendered by the 2015 PlantUML library even with macro 2.4.1, so it’s good to fix this anyway.

PS: This post was co-written with Claude Code.

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [November 14, 2026, 2:50pm UTC](https://forum.xwiki.org/t/on-plantuml-macro-security-vulnerabilty-report-for-release-2-4-1/18963/6 "2026-11-14T14:50:01Z")

</div>

@Ricardo_Rodriguez A cleaner alternative to what I suggested above: instead of installing PlantUML `1.2026.9` explicitly, **uninstall the old “PlantUML 8059” extension**. Your screenshot shows it as “Installed” (not “Installed as dependency”), i.e. it was installed on its own at some point, and it’s not needed: the PlantUML Macro brings the right PlantUML library version as a dependency.

A few things to know before doing it:

1. **The uninstall will cascade.** Since PlantUML Macro 2.5 currently relies on 8059 for its PlantUML dependency, the Extension Manager will also propose to uninstall PlantUML Macro 2.5, PlantUML Administration 2.5 and probably “Display XWikiClass UML Diagram”. It shows you the list before applying anything, so this is expected.
2. **Keep your configuration.** Uninstalling PlantUML Administration touches the `PlantUML.PlantUMLConfig` page, which holds your settings (e.g. your PlantUML server URL, since you use remote rendering). When the Extension Manager asks what to do with modified pages, choose to keep them, or note your settings beforehand.
3. **Then reinstall PlantUML Administration 2.5.** It will bring PlantUML Macro 2.5 and the PlantUML `1.2026.9` library. Reinstall “Display XWikiClass UML Diagram” too if you use it, and check that it doesn’t pull PlantUML 8059 back (if it does, tell us here).
4. **Your pages are safe.** The diagrams in your own pages are content and aren’t affected by the uninstall.

If the uninstall turns out to be a problem, the explicit install of `1.2026.9` described in my previous post remains a fallback.

PS: This post was co-written with Claude Code.

---

<div class="post-metadata">

**Author:** ![Ricardo\_Rodriguez](https://forum.xwiki.org/user_avatar/forum.xwiki.org/ricardo_rodriguez/32/3454_2.png) [@Ricardo\_Rodriguez](https://forum.xwiki.org/u/Ricardo_Rodriguez)\
**Post date:** [November 14, 2026, 3:27pm UTC](https://forum.xwiki.org/t/on-plantuml-macro-security-vulnerabilty-report-for-release-2-4-1/18963/7 "2026-11-14T15:27:18Z")

</div>

Up and running! **Thanks!** Allow me to reflect a bit before completing the answer. By now, a link to a working PlantUML page:  
[Updating XWiki - XWiki](https://portal.igfae.usc.es/xwiki/bin/view/Procedure/UpdatingXWiki/)  
And a screenshot as evidence of proper functioning:

 ![image](https://forum.xwiki.org/uploads/default/original/2X/2/2c634757e191d083e5ecc0150a0f5dbec1a3871e.png)  
Thank you very much!

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [November 14, 2026, 3:36pm UTC](https://forum.xwiki.org/t/on-plantuml-macro-security-vulnerabilty-report-for-release-2-4-1/18963/8 "2026-11-14T15:36:02Z")

</div>

Great to hear! Marking the thread as solved.

---

<div class="post-metadata">

**Author:** ![Ricardo\_Rodriguez](https://forum.xwiki.org/user_avatar/forum.xwiki.org/ricardo_rodriguez/32/3454_2.png) [@Ricardo\_Rodriguez](https://forum.xwiki.org/u/Ricardo_Rodriguez)\
**Post date:** [November 14, 2026, 5:08pm UTC](https://forum.xwiki.org/t/on-plantuml-macro-security-vulnerabilty-report-for-release-2-4-1/18963/9 "2026-11-14T17:08:38Z")

</div>

After reviewing the process, nothing fancy to add! We, including Claude and Copilot, transformed an old XWiki instance into an up-to-date 18.9.0 one. As always, I’m more than happy to have the opportunity of learning with the XWiki Team! I’m doing my best to apply XWiki oppeness to my own environment. It is not just a matter of what you are doing. For me, it is even more relevant “how” you are doing it. As usually, **thanks!**

---

<div class="post-metadata">

**Author:** ![Ricardo\_Rodriguez](https://forum.xwiki.org/user_avatar/forum.xwiki.org/ricardo_rodriguez/32/3454_2.png) [@Ricardo\_Rodriguez](https://forum.xwiki.org/u/Ricardo_Rodriguez)\
**Post date:** [November 14, 2026, 5:13pm UTC](https://forum.xwiki.org/t/on-plantuml-macro-security-vulnerabilty-report-for-release-2-4-1/18963/10 "2026-11-14T17:13:10Z")

</div>

Could anybody to edit the post and change “but” to “both”?

 ![Screenshot_20261114_181225_Edge](https://forum.xwiki.org/uploads/default/original/2X/4/458630b5d247dc4bd69ec5a1ab45f4a67d69dff8.jpeg)  
Thanks!

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [November 14, 2026, 5:14pm UTC](https://forum.xwiki.org/t/on-plantuml-macro-security-vulnerabilty-report-for-release-2-4-1/18963/11 "2026-11-14T17:14:24Z")

</div>

> [@Ricardo\_Rodriguez](#):
>
> Could anybody to edit the post and change “but” to “both”?

done
