[kmail2] [Bug 480193] New: KMail QML HTML injection via --subject and --attach
Benjamin Flesch
bugzilla_noreply at kde.org
Mon Jan 22 22:11:08 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=480193
Bug ID: 480193
Summary: KMail QML HTML injection via --subject and --attach
Classification: Applications
Product: kmail2
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: composer
Assignee: kdepim-bugs at kde.org
Reporter: benjaminflesch at icloud.com
Target Milestone: ---
SUMMARY
***
HTML injection into KMail UI
afaik not security issue because external image urls are not followed
***
STEPS TO REPRODUCE
1. kmail --composer --body '' --attach '<h1>HTML Injection bf</h1><img
source="https://www.spyber.com/sig-25163.png" width="100" height="100" />'
2. kmail --composer --attach 'asdasd <h1>HTML Injection @bf</h1><img src="0" />
' --subject '<h1>injectko</h1>asdasd'
OBSERVED RESULT
custom HTML in kmail UI and alert dialogs
EXPECTED RESULT
no custom HTML in kmail UI
SOFTWARE/OS VERSIONS
kmail2 5.24.4 (23.08.4)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list