Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Security
»
Banned when adding an image via code view
« previous
next »
Print
Pages: [
1
]
Author
Topic: Banned when adding an image via code view (Read 1988 times)
seadhna
Hero Member
Posts: 523
Banned when adding an image via code view
«
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.
Logged
seadhna
Hero Member
Posts: 523
Re: Banned when adding an image via code view
«
Reply #1 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>
Logged
datahell
Elxis Team
Hero Member
Posts: 10429
Re: Banned when adding an image via code view
«
Reply #2 on:
July 09, 2025, 22:24:18 »
No, this has nothing to do with the URL. There is no such issue as the one you mention.
You have been stopped because
the security token is wrong
. This happens when you open simultaneously multiple edit pages. Only the last opened in legitimate. If you try to submit (save) a previous one the request will be dropped. This feature is in order to be protected against XSS attacks.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
seadhna
Hero Member
Posts: 523
Re: Banned when adding an image via code view
«
Reply #3 on:
July 11, 2025, 14:19:16 »
This issue happens with every Elxis installation I have. How do you open simultaneously multiple edit pages? I don't even know how to do that.
Logged
datahell
Elxis Team
Hero Member
Posts: 10429
Re: Banned when adding an image via code view
«
Reply #4 on:
July 11, 2025, 18:50:39 »
I just tested it, although the reason is obvious as I already said.
I included an image the way you wrote and saved normally. See the screenshots.
The reason is 100% the one I wrote. The session
token
is been overwritten and token gets altered. If you haven't opened a secondary window then you must search for the reason in your browser, in an anti-virus or similar. Something might interfere between the site and the browser.
The reason is obvious as you have a very specific error code:
E403-CCON-0013
This is from component content, controller file aarticle.php line 1036
if (($token == '') || ($sess_token == '') || ($sess_token != $token)) {
exitPage::make('403', 'CCON-0013', $eLang->get('REQDROPPEDSEC'));
}
«
Last Edit: July 11, 2025, 18:53:25 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Security
»
Banned when adding an image via code view