this post was submitted on 23 Oct 2026
447 points (98.7% liked)
Technology
89924 readers
3483 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Has pure HTML (no css, no javascript) ever had a serious security issue? On the server side obviously not (outside of the apache/nginx/etc. having application bugs), but even on the client side has there ever been an exploit?
I think there's been one or two image decompression exploits over the years, so a site with a malicious file could end up running code on your system. I remember this being an issue with Minecraft clients and player skins at one point, but I can't remember any specific times this happened in browsers tho.
Yeah but if it's just pure HTML you got an ugly-ass website that's annoying to use. There's been many JavaScript and css vulnerabilities over the years of course. But yes there was and still is plain HTML issues
Client side:
Server side, you could execute SQL injection and path traversal just via URL before the page even loads. Malware and other issues can be embedded in text inputs. HTML can be uploaded to the server and in some cases replayed on the page affecting other users (comment sections were infamous for this).
So yeah; a plain HTML page with no JavaScript or css isn't necessarily safe
Only ugly if you've been taught to think that
Oh yeah, everyone loves black text on white background, with each div placed sequentially in a vertical stack
:)really gives it that vintage mid 90's dial up internet "the website failed to load CSS" lookThere's nothing wrong with CSS. Arguably it's been overcomplicated way beyond it's original scope, but it works as designed to make your sites look good
I build custom websites that run primarily on css and html. Light JS for applications, and some simple PHP to tie everything together. I am unaware of any flaw or exploit that would disable my sites. I don't recall any html vulnerabilities. Unless there's e-commerce involved, that's nothing I can think of that would be exploitable on either side for html or css. These are both hard coded into the browser so I'm not even sure what an exploit would accomplish other than changing values on the client side. But it's been a long week...
Edit Looks like zarobi below remembered some exploits. Totally forgot about iframes and the weird image data exploits.
My man