Skip to content

Comments

fix(SVGDepictor): escape string injected in svg#144

Merged
thsa merged 1 commit intoActelion:masterfrom
tpoisseau:escape-xml-in-svg-depictor
Sep 1, 2025
Merged

fix(SVGDepictor): escape string injected in svg#144
thsa merged 1 commit intoActelion:masterfrom
tpoisseau:escape-xml-in-svg-depictor

Conversation

@tpoisseau
Copy link
Contributor

I discover it was not escaped, so we could write xml tag into custom atom labels.
I did not succeed to run js from custom label but I'm pretty sure it's possible.
This is a security fix to avoid remote code execution (XSS in browser or directly in OS with svg preview in desktop file explorer).

I discover it was not escaped, so we could write xml tag into custom atom labels.
I did not succeed to run js from custom label but I'm pretty sure it's possible.
This is a security fix to avoid remote code execution (XSS in browser or directly in OS with svg preview in desktop file explorer)
@thsa thsa merged commit 5aa7535 into Actelion:master Sep 1, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants