| Titre | 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.
|
|---|
| La source | ⚠️ https://github.com/pkp/pkp-lib/issues/12977 |
|---|
| Utilisateur | Razielx64 (UID 97461) |
|---|
| Soumission | 02/07/2026 19:02 (il y a 2 mois) |
|---|
| Modérer | 19/08/2026 15:46 (2 months later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 393037 [pkp pkp-lib jusqu’à 3.3.0-22/3.4.0-10/3.5.0-4 XSLTransformer.php _transformPHP XML External Entity] |
|---|
| Points | 20 |
|---|