Closed c-schmitz closed 1 week ago
Stack trace: `Stack trace: #0 [ROOT]/libraries/kunena/External/Nbbc/src/BBCodeLexer.php(197): count()
`
For me this feels like the pasted code is somehow 'executed'. If this can 'crash' the page (which it does), then this needs to be approached as a security issue. The above said without knowing what exactly is pasted into the message, maybe best to take that offline / via mail
Nothing is executed as far as I can tell. Just the parser breaks when it shouldn't.
This issue is stale because it has been open 30 days with no activity.
But I would agree it is a security issue as I can make a whole forum unusable by posting this message text to all active threads.
@xillibit
Because your are putting content in markdown not allowed instead of bbcode, by using [code][/code] it's better. I will look how to prevent that code
Fixed in K6.3.6
On providing VBA code in a forum message it crashes the forum if trying to view/edit that message with the error message "0 count(): Argument #1 ($value) must be of type Countable|array, bool given"
To Reproduce
I posted the related message on the Kunena forums at a test. Check out https://www.kunena.org/forum/k-6-3-0-support/168583-this-message-crashes-kunena I am terribly sorry, probably should have posted it as private message
Expected behavior Message should be shown-
Actual result Error message
Screenshots If applicable, add screenshots to help explain your problem.
System information (please complete the following information)
Joomla version: Latest 4.x Kunena version: 6.3.x Php version: 7.1 Database version: n/a