Elxis CMS Forum

Support => Security => Topic started by: seadhna on July 06, 2025, 14:04:07

Title: Banned when adding an image via code view
Post by: seadhna on July 06, 2025, 14:04:07
Hi there,
on multiple instances of Elxis the same issue occurs: when adding an image via code via manual typing, when one clicks Apply or Save, the following error appears:

Your request dropped for security reasons. Please try again.
Reference code: E403-CCON-0013

However, it only happens if the code is manually typed - NOT if it is copied and pasted.

To replicate:

1) Create New Article; title: test, seo title: test, subtitle: test
2) Intro text or Main text, switch to code view (change mode)
3) Manually type the following: (not copy and paste)

            <figure>
                <img src="https://www.example.org/test.png" width="100%" height="auto" alt="test">
            </figure>

4) Click SAVE or APPLY

If you copy and paste your code before clicking SAVE or APPLY, and then click back, and paste the code and click SAVE or APPLY again: no error message.
Title: Re: Banned when adding an image via code view
Post by: seadhna on July 06, 2025, 14:11:17
More info: if you omit the two slashes in the URL, the error does not occur, but of course the Url is not valid. e.g. typing this and clicking SAVE or APPLY, there is NO error:

            <figure>
                <img src="www.example.org/test.png" alt="">
            </figure>

However, typing either of these produces the error:

            <figure>
                <img src="https://www.example.org/test.png" alt="">
            </figure>

            <figure>
                <img src="//www.example.org/test.png" alt="">
            </figure>