| Titolo | Public Knowledge Project OJS/OMP/OPS 3.3.0-22 and older XML Injection |
|---|
| Descrizione | 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.
|
|---|
| Fonte | ⚠️ https://github.com/pkp/pkp-lib/issues/12977 |
|---|
| Utente | Razielx64 (UID 97461) |
|---|
| Sottomissione | 02/07/2026 19:02 (2 mesi fa) |
|---|
| Moderazione | 19/08/2026 15:46 (2 months later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 393037 [pkp pkp-lib fino a 3.3.0-22/3.4.0-10/3.5.0-4 XSLTransformer.php _transformPHP XML External Entity] |
|---|
| Punti | 20 |
|---|