Loading
In Apache Batik 1.x before 1.10, when deserializing subclass of `AbstractDocument`, the class takes a string from the inputStream as the class name which then use it to call the no-arg constructor of the class. Fix was to check the class type before calling newInstance in deserialization.
Use CWE-502, Apache vendor hub and Batik product page to widen CVE-2018-8013 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2020-11987, CVE-2022-42890 and CVE-2022-41704 for nearby disclosures in the same product family.