Submit #1008105: diem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Cross Site Scriptinginfo

Titeldiem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Cross Site Scripting
BeschreibungThe Link Widget accepts its `text` field as an unrestricted `sfValidatorString` in `dmFrontPlugin/lib/dmWidget/link/dmWidgetContentLinkForm.php`. Its view in `dmWidgetContentLinkView.php` applies `nl2br()` and passes the result to `dmBaseLinkTag::text()`. `dmCorePlugin/lib/view/html/link/dmBaseLinkTag.php` inserts the value directly between `<a>` tags without HTML encoding. A user with the `widget_edit_fast` or `widget_edit` credential can persist markup such as `<img src=x onerror=alert(document.domain)>`, which executes for every visitor who loads a page containing that widget.
Quelle⚠️ https://github.com/diem-project/diem/issues/459
Benutzer
 cnluminous (UID 98136)
Einreichung30.09.2026 18:07 (vor 24 Tagen)
Moderieren18.10.2026 11:52 (18 days later)
StatusAkzeptiert
VulDB Eintrag421690 [diem-project diem bis 116974edfb9a5b8bd69cb13586dc62bcdbb485ad dmWidget dmBaseLinkTag.php dmBaseLinkTag::text Cross Site Scripting]
Punkte20

Do you want to use VulDB in your project?

Use the official API to access entries easily!