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

  • SEARCH
  • Home
  • 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 6319225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T15:46:11+00:00 2026-05-24T15:46:11+00:00

Is there any security risk in allowing a user to upload an HTML file

  • 0

Is there any security risk in allowing a user to upload an HTML file to our webserver?

Here are a few items to consider:

  • Only the user can access their html files
  • The file can contain javascript (if referenced from a different server)
  • The HTML file is stored as binary data in the database until the user requests the document

I am more concerned about risks to the system, not so much to the user, since it would have to have been them who uploaded the file (or someone else who already has access to their account).

Any suggestions are much appreciated!

Cheers,

  • 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-24T15:46:12+00:00Added an answer on May 24, 2026 at 3:46 pm

    Pretty minimal if any. It’s HTML so you’re not executing anything on the server. If it’s absolutely, positively only viewed by the uploader then there’s no XSS or CSRF attack vectors of any value.

    Your biggest risk is probably in the upload function and ensuring there’s no malicious payload that could execute on the server side.

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

Sidebar

Related Questions

I am wondering if there is any potential security risk from the following code.
this is a 3 part question Is there any performance or security risk in
Could anyone please let me know if there are any major security risk for
is there any security issue realated to leaving ASP.NET Session ID value on html
Are there any security exploits that could occur in this scenario: eval(repr(unsanitized_user_input), {__builtins__: None},
Are there any security issues keeping the .NET PDB files on the real server?
Are there any known security issues related to running a web application via a
Am wondering if there would be any security flaw in this approach. I am
Is there any comparison to show why JSP/ASP.Net is better from security point of
Is there any way to check whether a file is locked without using a

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.