frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Adult sites are stashing exploit code inside svg files

https://arstechnica.com/security/2025/08/adult-sites-use-malicious-svg-files-to-rack-up-likes-on-facebook/
42•The-Old-Hacker•2h ago

Comments

StrauXX•2h ago
Original article: https://www.malwarebytes.com/blog/news/2025/08/adult-sites-t...

The linked article just regurtitates the source.

throwaway290•1h ago
Ars article links to Malwarebytes but Ars article is better. The headline is better, it's most interesting that they run code from svg. Ars also adds context how the same hole was also used before to hijack Microsoft accounts and also by the Russians. Whereas Malwarebytes is mostly about pornsite clickjacking to like Facebook posts (and complains about age verification). However it has a bit more technical details too. Read both I guess?
lostmsu•18m ago
What's the hole? Neither appear to say.
saagarjha•1h ago
I'm curious how you can click the like button using JavaScript…
55555•59m ago
The user has to click on the image, so I think the SVG is embedding the FB like button onto the page and drawing another element on top of it to hide it.
michaelt•1h ago
I think some people on the SVG design committee were aiming to replace Flash for things like browser games, and wanted animations and javascript and so on to support that role.

That lead to the weird situation where browsers have two ways of embedding an SVG into a web page - embed in an <img> tag and the javascript won't run, but embed it in an <iframe> and it will (but of course iframe height can't auto-size...)

The javascript also means pretty much no user-generated-content sites allow the upload of SVGs. Wikipedia is the only place I can think of - and even they serve the SVG as a PNG almost everywhere.

kevin_thibedeau•1h ago
You can also embed in <object>.
kibibu•1h ago
You can also just throw an SVG element straight into your html
vaylian•10m ago
xmlns namespaces for the win!
cheschire•1h ago
Finally, a reason why porn in incognito mode is actually a safety mechanism.
ta1243•1h ago
Running facebook in incognito mode, or at least in a separate container, is also an essential safety mechanism.
medwards666•33m ago
... or just not running Faecesbook at all.
QAkICoU7IDNkpFu•1h ago
“The user will have to be logged in on Facebook for this to work, but we know many people keep Facebook open for easy access.”

Well there's your problem right there.

ndriscoll•1h ago
> Facebook regularly shuts down accounts that engage in these sorts of abuse.

But does not fix the CSRF vulnerability, apparently.

mathiaspoint•1h ago
Probably because they need it themselves for data collection.
mananaysiempre•1h ago
> The Scalable Vector Graphics format is an open standard for rendering two-dimensional graphics.

It would be nice if we had one of those, but SVG is not it, at least not unless you’re willing to gloss HTML as “an open format for rendering reflowable text”. SVG is a full platform for web applications with fixed-layout graphics and rich animations, essentially Flash with worse development tools.

There have been some attempts to define a subset of SVG that represents a picture, like SVG Tiny, but that feels about as likely to succeed as defining JSON by cutting things out of JavaScript. (I mean, it kind of worked for making EPUB from HTML+CSS...) Meanwhile, other vector graphics formats are either ancient and not very common (CGM, EPS, WMF/EMF) or exotic and very not common (HVIF, IconVG, TinyVG).

(My personal benchmark for an actual vector format would be: does it allow the renderer to avoid knowing the peculiarities of Arabic, Burmese, Devanagari, or Mongolian?)

ajross•1h ago
SVG really is just an awful format. What the market wanted was a clean, easily parseable specification for vector image data based on a solid rendering specification. What it got was an extensible HTML-like scripting language where all the vector stuff was ad hoc and poorly implemented, and where (this is the bit that absolutely drives me up the wall) the actual image data is not stored in the metadata format they chose. You have to parse this entirely different string format if you want to extract the points on your curve or whatever!
ykonstant•1h ago
I remember opening one svg that totally wrecked my computer, I had to cold reboot; nothing worked, the system hanged down to the kernel. It was impressive. Never happened again with any other kind of file.
lostmsu•50m ago
This makes no sense. How does SVG click Facebook like button? Is there a vulnerability? The post doesn't say anything like that.

Why are they clicking like buttons instead of stealing money from bank accounts then?

zb3•34m ago
Yeah, at first I thought this was about a browser 0day.. but no, so where is the vulnerability? Is Facebook vulnerable?
lemoncookiechip•44m ago
All the more reason to block all JS by default with add-ons like NoScript or uBO and manage a whitelist.

It's a bit annoying the first few days, but then the usual sites you frequent will all be whitelisted and all that's left are random sites you come across infrequently.

mindslight•19m ago
Investing in NoScript can actually make pages faster, even if you end up enabling a bunch of javascript for functionality. For example, I remember having to whitelist only about half the resources used by homedepot.com. The rest was just shameless surveillance bloat, continually backhauling gobs of data as you were merely viewing the page.
gruez•16m ago
>It's a bit annoying the first few days, but then the usual sites you frequent will all be whitelisted and all that's left are random sites you come across infrequently.

How does this work in reality? Do you just whitelist every site you come across if it's broken? What's the security advantage here? Or do you bail if it requires javascript? What about the proliferation of sites that don't really need javascript, but you need to enable it anyways because the site's security provider needs it to verify you're not a bot?

ndriscoll•11m ago
> Or do you bail if it requires javascript?

It depends, but frequently, yes. e.g. If I were about to read a tech blog, and see it's from someone that can't make a couple paragraphs work without scripting, then that raises the chance that whatever they had to say was not going to be valuable since they evidently don't know the basics.

It's the frontend version of people writing about distributed clusters to handle a load that a single minipc could comfortably handle.

johnisgood•7m ago
Where is the SVG?

Project Red Hook: Chinese Gift Card Fraud at Scale

https://garwarner.blogspot.com/2025/08/project-red-hook-chinese-gift-card.html
1•aa_is_op•26s ago•0 comments

I tried my best to like GPT-5. I just can't. It fucking sucks

https://nexustrade.io/blog/i-tried-my-best-to-like-gpt-5-i-just-cant-it-fuckingsucks-20250810
1•el_hacker•30s ago•0 comments

NASA finds multi-billion-year-old 'coral' on Mars

https://www.livescience.com/space/mars/nasa-finds-multi-billion-year-old-coral-on-mars
1•geox•1m ago•0 comments

High Agency in 30 Minutes

https://www.highagency.com/
1•arrowsmith•5m ago•0 comments

Best Case Scenario Fo AI

https://twitter.com/DavidSacks/status/1954244614304739360
1•Balgair•6m ago•0 comments

NoPromptOS

https://github.com/hatonthecat/NoPromptOS
1•initramfs•7m ago•0 comments

Understanding Linux: The Kernel Perspective

https://leanpub.com/linuxkernel
1•teleforce•9m ago•0 comments

Zeus – Athena Query Sharing Platform

https://github.com/ronreiter/zeus
1•ronreiter•9m ago•0 comments

LHC's New Chip Tackles Radiation Challenges

https://spectrum.ieee.org/lhc-radiation-chip
2•rbanffy•10m ago•0 comments

Open Orion: open-source generative CAD

https://openorion.org/
1•stacktrust•11m ago•0 comments

Tractor Beams Today

https://expmag.com/2022/01/star-trek-has-tractor-beams-so-do-we/
2•HR01•13m ago•0 comments

The future is here–it's just one degree off from where we need it to be

https://syntheticauth.ai/posts/synthetic-auth-1-degree
1•zerolayers•13m ago•1 comments

NASA plans to build a nuclear reactor on the Moon–a space lawyer explains why

https://theconversation.com/nasa-plans-to-build-a-nuclear-reactor-on-the-moon-a-space-lawyer-explains-why-and-what-the-law-has-to-say-262773
1•rbanffy•14m ago•0 comments

Does eating a diverse array of flavonoids prevent chronic disease? – Peter Attia

https://peterattiamd.com/flavonoids-and-chronic-disease/
1•bilsbie•16m ago•0 comments

America's AI Action Plan [pdf]

https://www.whitehouse.gov/wp-content/uploads/2025/07/Americas-AI-Action-Plan.pdf
2•andsoitis•17m ago•1 comments

The presence of quality: the cognition of excellence

http://dx.doi.org/10.13140/RG.2.2.10651.99366
1•TiagoEckhardt•20m ago•1 comments

The Precursor Manifesto: Why Context Architecture Beats Prompt Engineering

https://medium.com/@christopher.graves09/the-precursor-manifesto-why-context-architecture-beats-prompt-engineering-f10043e4a3f6
1•thunderbong•23m ago•0 comments

Myth versus memory–Nessie spotters are not influenced by media depictions

https://phys.org/news/2025-07-myth-memory-nessie-spotters-media.html
2•PaulHoule•25m ago•0 comments

Freight demand on shaky footing as import bookings drop

https://www.freightwaves.com/news/freight-demand-on-shaky-footing-as-import-bookings-drop
1•emschwartz•27m ago•0 comments

BUILD: Solving the Software Complexity Puzzle

https://computing.llnl.gov/projects/build
1•teleforce•27m ago•0 comments

More MCP: No Code MCP Server

https://7co.cc/mcpfier/
1•elesbao•28m ago•0 comments

Could lithium explain – and treat – Alzheimer's?

https://news.harvard.edu/gazette/story/2025/08/could-lithium-explain-and-treat-alzheimers/
2•canadiantim•28m ago•0 comments

Lifelogging Under Fascism

https://werd.io/lifelogging-under-fascism/
2•benwerd•30m ago•0 comments

Laravel Security Guide: How to Fix These 6 Common Mistakes

https://www.youtube.com/watch?v=MBOSeHvmshQ
1•BurtDS•32m ago•0 comments

A German cycling from China to Pakistan, now in Afghanistan

https://www.youtube.com/channel/UCOxpcQ7KtZc7fd0jhnWS0Sg
1•tapanjk•33m ago•0 comments

Speeding up the JavaScript ecosystem – Semver

https://marvinh.dev/blog/speeding-up-javascript-ecosystem-part-12/
2•llimllib•33m ago•0 comments

Alan Sugar of Amstrad Speaks to Practical Computing (1985)

https://computeradsfromthepast.substack.com/p/practical-computing-interviewed-alan
1•rbanffy•37m ago•0 comments

The automated warehouse where robots are packing your groceries

https://www.theverge.com/robot/719880/ocado-online-grocery-automation-krogers-luton-ogrp-robot-grid
1•sohkamyung•38m ago•0 comments

America's AI Action Plan

https://blog.palantir.com/americas-ai-action-plan-dab1b8fb8046
1•subhash_r_023•38m ago•0 comments

Selçuksportshd Canlı Maç İzle

https://selcuksports.vivaldi.net/
1•mkosetrgg•38m ago•0 comments