Simon Pieters

@zcorpan
458 Followers
335 Following
152 Posts

Mozilla is looking for a Staff Security Engineer, Product Security in Remote Canada/US/UK/Germany - https://www.mozilla.org/en-US/careers/position/gh/7539147/

This role expects a significant level of experience in penetration testing, code review, SAST/DAST. (This is not my team, so I won't be able to answer a lot of the typical questions. But you'll get to work on cool products with lots of cool people! :))

Mozilla Careers — Staff Security Engineer, Product Security — Open Positions

Mozilla is hiring a Staff Security Engineer, Product Security in Remote US, Security, Security, Security, Firefox, Firefox, Finance, Security, Security, Marketing, Firefox,…

Mozilla

Intutively for a DOM Sanitizer configuration that looks like the following:

{
elements: ["div", "span"],
attributes: ["class"],
}

For a <div> element, which attributes do you think should/would be allowed?

(Boost appreciated)

No attributes
0%
All attributes
0%
Only the "class" attribute
89.5%
Other (please specify)
10.5%
Poll ended at .
Just published: "The Web's Most Tolerated Feature" by @jugglinmike https://www.bocoup.com/blog/the-webs-most-tolerated-feature
A Worker-Owned Tech Consultancy - Bocoup

Web Platform Consulting Services

⚠️ Last chance to fill out #StateOfHTML 2025 and get browsers to pay attention to your web platform pain points!

After popular demand, the survey closing date has been extended for a few more days so that returning OOO folks get a chance to fill it out too!

https://survey.devographics.com/en-US/survey/state-of-html/2025/?source=leaverou

State of HTML 2025

Take the State of HTML survey

State of HTML 2025

If you use "AI agents" (LLMs calling tools in a loop) you need to be aware of the Lethal Trifecta

Any time you combine access to private data, exposure to untrusted content and the ability to externally communicate an attacker can trick the system into stealing your data https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/

The lethal trifecta for AI agents: private data, untrusted content, and external communication

If you are a user of LLM systems that use tools (you can call them “AI agents” if you like) it is critically important that you understand the risk of …

Simon Willison’s Weblog

Today we published two blog posts about an HTML specification change that makes mutation XSS harder to exploit! Long story short: `<` and `>` are now escaped in attributes.

* Blog post about security rationale behind this change: https://bughunters.google.com/blog/5038742869770240/escaping-and-in-attributes-how-it-helps-protect-against-mutation-xss
* Blog post about how it affects web developers: https://developer.chrome.com/blog/escape-attributes?hl=en

Blog: Escaping '<' and '>' in attributes – How it helps protect against mutation XSS

The HTML specification has been updated to escape '<' and '>' in attributes to prevent mutation XSS (mXSS) vulnerabilities. This post details the reasoning behind this change and explains why this update improves security.

Remember this tiny change to the HTML spec?

It just prevented a critical bug in an application we are currently testing.

https://github.com/whatwg/html/commit/e21bd3b4a94bfdbc23d863128e0b207be9821a0f

❤️ cc @freddy @securitymb

Escape "<" and ">" when serializing attribute values · whatwg/html@e21bd3b

Avoid a class of XSS attacks where markup goes through a lossy parse-serialize-parse roundtrip and the original attribute value is parsed in the data state. This reverts 4eeb8a1706c9545d5aedb5d569...

GitHub

I wrote an article that was #1 on the orange website for a bit earlier today

https://news.ycombinator.com/item?id=43649853

Default styles for h1 elements are changing | Hacker News

Starting March 31, 50% of Firefox beta 138 users will have the change where <h1> always has the same UA style, even in article, aside, nav, section.

Also, Lighthouse will fail a check if you have an <h1> without font-size specified.

Advice for web developers: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements#specifying_a_uniform_font_size_for_h1

Context: https://mastodon.social/@zcorpan/113839012551439287

<h1>–<h6>: The HTML Section Heading elements - HTML: HyperText Markup Language | MDN

The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. By default, all heading elements create a block-level box in the layout, starting on a new line and taking up the full width available in their containing block.

MDN Web Docs