Is there an existing issue for this?
This bug exists on the latest available release of DistroAV and supported environment?
OBS Log [URL] - Important!
No response
Issue reported - Current Behavior
If a plugin release includes release notes containing a < or >, the display in the markdown widget does not render correctly and may show broken formatting or even inject unexpected HTML. This also creates a potential vector for script injection if not handled properly.
Expected Behavior
Any release notes (particularly those from upstream or user input) should be HTML-escaped before being rendered as markdown. The GUI should never allow display of raw < or > characters as HTML in markdown fields.
Steps To Reproduce
- Make a release with release notes like:
<script>alert(1)</script> or <<<Test>>>.
- Trigger the update notification in the plugin.
- Observe that the markdown field renders the HTML rather than displaying as literal text, or the formatting is broken.
Environment
- OS: n/a
- OBS: n/a
- DistroAV: 6.x
- NDI: n/a
Pre-Check for Bug Report
Is there an existing issue for this?
This bug exists on the latest available release of DistroAV and supported environment?
OBS Log [URL] - Important!
No response
Issue reported - Current Behavior
If a plugin release includes release notes containing a
<or>, the display in the markdown widget does not render correctly and may show broken formatting or even inject unexpected HTML. This also creates a potential vector for script injection if not handled properly.Expected Behavior
Any release notes (particularly those from upstream or user input) should be HTML-escaped before being rendered as markdown. The GUI should never allow display of raw
<or>characters as HTML in markdown fields.Steps To Reproduce
<script>alert(1)</script>or<<<Test>>>.Environment
Pre-Check for Bug Report