<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/hdiv/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/hdiv/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/hdiv/bugs/</id><updated>2011-08-08T16:49:48Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>HDIV struts 1.2.7 addHDIVParameter </title><link href="https://sourceforge.net/p/hdiv/bugs/3/" rel="alternate"/><published>2011-08-08T16:49:48Z</published><updated>2011-08-08T16:49:48Z</updated><author><name>pk808</name><uri>https://sourceforge.net/u/pk808/</uri></author><id>https://sourceforge.net04dd8c1ea42b96f19066aeb81a93597cc6d2ecfe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In method addHDIVParameter of FormTagHDIV.java, String hdivParameter is not used and so the HDIV parameter is not added. In other strut versions, hdivParameters is used like so: TagUtils.getInstance().write(pageContext, this.generateHiddenTag(hdivParameter, requestId));&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>HDIV Core validateStartPageParameters</title><link href="https://sourceforge.net/p/hdiv/bugs/2/" rel="alternate"/><published>2011-08-08T16:49:13Z</published><updated>2011-08-08T16:49:13Z</updated><author><name>pk808</name><uri>https://sourceforge.net/u/pk808/</uri></author><id>https://sourceforge.net1c9cfa77fc0feb4a1216269a2855eb02633c4e5e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Method validate in Validation.java always returns true when validating parameters of an init page because the dataType passed to it from method validateStartPageParameters in AbstractValidatorHelper.java is always an empty string ("") and the component type is either "text" or "textarea". public boolean validate(String parameter, String[] values, String dataType) if (this.existComponentType() &amp;amp;&amp;amp; (!this.isTheSameComponentType(dataType))) { return true; } public boolean validateStartPageParameters() if (!hdivConfig.areEditableParameterValuesValid(this.targetWithoutContextPath, parameter, values, "")) {&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Vulnerability in HDIV struts2 showcase</title><link href="https://sourceforge.net/p/hdiv/bugs/1/" rel="alternate"/><published>2009-04-16T18:50:28Z</published><updated>2009-04-16T18:50:28Z</updated><author><name>Andres Riancho</name><uri>https://sourceforge.net/u/andresriancho/</uri></author><id>https://sourceforge.net1b7a7fae85e6062227f4a7799e20a3d283c03e98</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I just found a way to exploit a permanent cross site scripting in the HDIV struts2 showcase application.&lt;/p&gt;
&lt;p&gt;1- Install struts2-showcase-2.0.11.war&lt;br /&gt;
2- Click on "Person Manager"&lt;br /&gt;
3- Click on "Create Person"&lt;br /&gt;
4- Add a person with name "andres" and last name "riancho&amp;lt;script&amp;gt;alert(2)&amp;lt;/script&amp;gt;".&lt;br /&gt;
5- Click on "List people"&lt;br /&gt;
6- A pop-up with a number 2 should appear.&lt;/p&gt;
&lt;p&gt;Editable data is also important ;)&lt;/p&gt;
&lt;p&gt;Andrés Riancho&lt;br /&gt;
&lt;a href="http://www.bonsai-sec.com/" rel="nofollow"&gt;http://www.bonsai-sec.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>