This issue has been created
There are 3 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-524a0b07-c817-4818-9f1e-6d4967887c12 XWIKI-23728 Open

Use a more recent version of headless Chrome for PDF export

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-e47e3d39-d630-47e2-b811-c394acda6ea5 Marius Dumitru Florea created this issue on 18/Nov/25 14:59
 
Summary: Use a more recent version of headless Chrome for PDF export
Issue Type: cid:jira-generated-image-avatar-524a0b07-c817-4818-9f1e-6d4967887c12 Task
Affects Versions: 16.10.14
Assignee: Unassigned
Components: Export - PDF
Created: 18/Nov/25 14:59
Priority: cid:jira-generated-image-static-major-d2a0ad2d-d75c-407e-b073-dcfd6e023d4a Major
Reporter: Marius Dumitru Florea
Description:

We are currently using this Docker image https://hub.docker.com/r/zenika/alpine-chrome to run headless Chrome on the server-side for PDF export. This image has a couple of problems:

  • it provides an old version of Chrome, 124, versus the current 144 version
    • using a 2-years old Chrome version poses a security threat
    • recent versions of Chrome have added support for:
      • generating PDF outline (bookmarks) XWIKI-23380
      • generating tagged PDFs that are accessible (properly read by a screen reader) XWIKI-19560
    • I haven't checked, but recent versions of Chrome should be faster as well
  • even though the provided Chrome version is old, the image seems to be updated often, by reusing the same tag. Which means that, even if the image version is fixed on our side, the behavior could be different depending on which iteration of the same version was cached locally... See XWIKI-23703 for the surprise I recently had.

Based on this I think we should look for an alternative. This one https://hub.docker.com/r/femtopixel/google-chrome-headless seems to be a good option.

 
 

3 updates

 
cid:jira-generated-image-avatar-e47e3d39-d630-47e2-b811-c394acda6ea5 Changes by Marius Dumitru Florea on 18/Nov/25 15:05
 
Fix Version: 17.10.1
Fix Version: 18.0.0-rc-1
Assignee: Marius Dumitru Florea