Cross-site scripting (XSS) vulnerability in the PHP League CommonMark library versions 0.15.6 through 0.18.x before 0.18.1 allows remote attackers to insert unsafe URLs into HTML (even if allow_unsafe_links is false) via a newline character (e.g., writing javascript as javascri%0apt).
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Link | Tags |
---|---|
https://commonmark.thephpleague.com/changelog/ | third party advisory release notes |
https://github.com/thephpleague/commonmark/issues/337 | third party advisory exploit |
https://github.com/thephpleague/commonmark/releases/tag/0.18.1 | third party advisory release notes |