| Title | Public Knowledge Project OJS/OMP/OPS 3.3.0-22 and older XML Injection |
|---|
| Description | The XSLTransformer class enables external XML entity loading, including from remote documents.
This can lead to XXE injections via the Manager's import/export toolset.
The _transformPHP() method explicitly enables external entity resolution before
loading attacker-influenced XML:
$xmlDOM->substituteEntities = true; // expands all entities incl. SYSTEM
$xmlDOM->resolveExternals = true; // fetches file:// and http:// URIs
// ...
$xmlDOM->loadXML($xml); // $xml may contain attacker DOCTYPE
A Manager-level user can trigger this path through
Tools → Import/Export → Native XML Plugin.
|
|---|
| Source | ⚠️ https://github.com/pkp/pkp-lib/issues/12977 |
|---|
| User | Razielx64 (UID 97461) |
|---|
| Submission | 07/02/2026 19:02 (2 months ago) |
|---|
| Moderation | 08/19/2026 15:46 (2 months later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 393037 [pkp pkp-lib up to 3.3.0-22/3.4.0-10/3.5.0-4 XSLTransformer.php _transformPHP xml external entity reference] |
|---|
| Points | 20 |
|---|