Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6000101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:38:44+00:00 2026-05-23T00:38:44+00:00

We are planning to use TinyMce in a JSP. We have a standard security

  • 0

We are planning to use TinyMce in a JSP.

We have a standard security filter which keeps track of input data from forms.
It identifies insecure code input attempting any intrusions/cross site scripting.

My questions are as follows:

  • When using tinyMce are there any third party libraries (paid or open source) which would help scan and identify for any insecure code attempting cross site scripting?

(I found one link in StackOverflow mentioning a PHP library, but I was looking for something in Java.)

  • If we do not have any way to secure Tinymce, then what is the general design consideration that has to be taken to make it as secure as possible?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T00:38:45+00:00Added an answer on May 23, 2026 at 12:38 am

    SQL injection should be something you worry about in your data layer, rather than your front-end. If you’re using the proper techniques to prevent SQL injection when you insert the data into your database, you shouldn’t have to worry about doing anything with TinyMCE, or any other part of your front-end code.

    Cross-site scripting attacks, on the other hand, are a different story. The best strategy for preventing cross-site scripting attacks is generally to HTML-Encode everything that you don’t produce in your front-end layer. However, since you’re using TinyMCE, I’m guessing that you want to allow user-generated HTML to appear on your site. In that case, you’ll want to look up “HTML Sanitizing.”

    Here are a couple of links to start you off:

    • Libs for HTML sanitizing
    • How to sanitize HTML code in Java to prevent XSS attacks?

    You can decide whether you prefer to sanitize the HTML before saving it to the database, after retrieving it from the database, or both. There are pros and cons to each strategy.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was planning to use url routing for a Web Forms application. But, after
We're planning to use standard ASP.NET user authentication for our application. However, by default
I am planning to use serialization to do clone. I have to make my
im planning to use java/jsp for web application installed on virtual web hosting space
I am planning to use jQuery in my new website. I have some questions
I`m planning to use the titles in a PSMultiValueSpecifier from settings.bundle in a pickerview.
Im planning to use the Entities generated by the EF (POCO) in sending data
I am planning to use gson's fromJson() method to parse a string coming from
I have a new project starting up, and I was planning to use git
I am planning to use EJBContext to pass some properties around from the application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.