GHSA-H2WF-967X-GXVW
MantisBT: Stored XSS in print_all_bug_page_word.php
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-H2WF-967X-GXVW divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
A missing output encoding call in print_all_bug_page_word.php allows any authenticated user to inject arbitrary HTML into an IMG tag's *alt* attribute via an image attachment with a crafted filename such as `probe." onload="alert(1)`.
When any user views the HTML export page (print_all_bug_page_word.php?type_page=html&export=1), the rendered IMG tag becomes `<img src="..." alt="" onload="alert(1)" />`, breaking out of the alt attribute.
### Impact
Cross-site scripting.
Impact is limited by MantisBT's Content Security Policy.
### Patches
- https://github.com/mantisbt/mantisbt/commit/bdd0e364f62759de272dfd4c89b4f51d27be9daa
### Workarounds
None
### Resources
- https://mantisbt.org/bugs/view.php?id=37234
### Credits
MantisBT thanks the Dracosec Research Limited https://dracosec.tech/ team (Chris Chan, Krecendo Hui, William Lam) for discovering and responsibly reporting the issue.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistmantisbt/mantisbt |
Corregida | 2.28.4 | — | — |
2.28.4Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/mantisbt/mantisbt/security/advisories/GHSA-h2wf-967x-gxvwhttps://github.com/mantisbt/mantisbt/commit/bdd0e364f62759de272dfd4c89b4f51d27be9daahttps://github.com/mantisbt/mantisbthttps://mantisbt.org/bugs/view.php?id=37234Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
