- Posts: 43
- Thank you received: 2
XSS Cross Site Scripting prevention on input forms
- Judy Akers
- Topic Author
- Offline
- Senior Member
-
Less
More
12 years 2 months ago #40523
by Judy Akers
XSS Cross Site Scripting prevention on input forms was created by Judy Akers
My agency tests all input forms on our web sites for XSS and tries to prevent it as much as possible.
They would like to prevent cross site scripting on the text input fields for the registration forms (for at least the basic fields of Name, Address, City, State, and Comments). We are willing to modify the necessary module(s) so whenever < and/or > are entered in the fields, they are replaced with < and >, respectively.
Could you please supply me with the locations of the files that handle the input to add this code for this ability? We are willing to send you a finished copy for your own records or upgrade in the future.
Thank you.
They would like to prevent cross site scripting on the text input fields for the registration forms (for at least the basic fields of Name, Address, City, State, and Comments). We are willing to modify the necessary module(s) so whenever < and/or > are entered in the fields, they are replaced with < and >, respectively.
Could you please supply me with the locations of the files that handle the input to add this code for this ability? We are willing to send you a finished copy for your own records or upgrade in the future.
Thank you.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 2 months ago #40532
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: XSS Cross Site Scripting prevention on input forms
Hi Judy
The files are located under components/com_eventbooking/views/register/tmpl
and components/com_eventbooking/views/confirmation/tmpl folder
Hope this give you alitle help !
Tuan
The files are located under components/com_eventbooking/views/register/tmpl
and components/com_eventbooking/views/confirmation/tmpl folder
Hope this give you alitle help !
Tuan
Please Log in or Create an account to join the conversation.
- Judy Akers
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 2
11 years 8 months ago #47637
by Judy Akers
Replied by Judy Akers on topic Re: XSS Cross Site Scripting prevention on input forms
Update: During testing the new version 1.6.6 - it is stripping out any script from the input fields. So this is no longer a problem. It does leave any html tags and our security unit seems to be OK with that.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 8 months ago #47670
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: XSS Cross Site Scripting prevention on input forms
OK Judy. Thanks for confirming (and sharing the information). We use Joomla core API for filtering input data, so I believe it should work well.
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.