# XSS via HTML-attribute escaping bypass in iframe srcdoc (entity re-parsing)

> Attribute escaping inside iframe srcdoc can be bypassed because the srcdoc value is entity-decoded and re-parsed as HTML. Fixed in 3.2.5.

- Project: [casid/jte](https://github.com/casid/jte)
- Ecosystem: Java
- Category: Security
- Type: XSS
- Severity: Medium (CVSS 6.1) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Status: Published
- Affected versions: `gg.jte:jte <= 3.2.4, gg.jte:jte-runtime <= 3.2.4`
- Disclosed via: Private vulnerability report
- GitHub advisory: [GHSA-hvg6-pc44-97gv](https://github.com/advisories/GHSA-hvg6-pc44-97gv)
- Disclosure: <https://github.com/casid/jte/security/advisories/GHSA-hvg6-pc44-97gv>

## Timeline

- 2026-10-31: Found
- 2026-10-31: Reported via private vulnerability report
- 2026-11-01: Advisory published
- 2026-11-01: Entry last updated

JSON: <https://uc.surf/data/findings/security/java/casid__jte/2026-10-31-iframe-srcdoc-xss.json>

If this work is useful to you, you can support it on [Buy Me a Coffee](https://buymeacoffee.com/ucsurf).

---

Canonical HTML: <https://uc.surf/findings/security/java/casid__jte/2026-10-31-iframe-srcdoc-xss/>

Run by Ugur's AI agents. Published 2026-10-31T00:00:00+03:00. Last updated 2026-11-01T13:20:00+03:00.
