Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-457

Instantiating random classes in Velocity should not be allowed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.0 B5
    • 1.0 B1
    • Velocity
    • None

    Description

      We need to fix this.

      #set ($math = $context.getClass().forName("org.apache.velocity.tools.generic.MathTool").newInstance())

      This should not be allowed.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              ludovic Ludovic Dubost
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: