Skip to content

mario-areias/dom4j-xml-injection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dom4j-xml-injection

This is a proof of concept to show a XML injection vulnerability on dom4j.

This project has three submodules that are identical except by the dom4j version. The vulnerable module uses 2.1.0, the safe module uses 2.1.1, the legacy module uses 1.6.

All modules have the same tests describing the vulnerability. The test goes green on the vulnerable module and legacy module but it fails on the safe module.

To check the resulting XML file for the vulnerable module, just look for the output file at ./vulnerable-version/output.xml

To check the resulting XML file for the legacy module, just look for the output file at ./vulnerable-version/output.xml

About

Proof of Concept for dom4j xml injection vulnerability

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages