You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And store a script that will be executed when the widget is rendered.
Initially I considered it to be a vulnerability, but then I tested widgets.php and discovered it exhibits the exact same behavior. That's perhaps unsurprising, considering that experimental endpoint reuses the exact same code:
The endpoint access is restricted to administrators and editors who, by design, are allowed to use custom scripts. Therefore it seems to me like it's not a bug, it's a feature. What do you think @draganescu@noisysocks@TimothyBJacobs ?
The endpoint access is restricted to administrators and authors who, by design, are allowed to use custom scripts. Therefore it seems to me like it's not a bug, it's a feature
I'd have to agree with that assessment... The people that can use this are the people than should be able to use it.
Activity
aristath commentedon Aug 27, 2020
I'd have to agree with that assessment... The people that can use this are the people than should be able to use it.
TimothyBJacobs commentedon Aug 27, 2020
Is this the built in text widget?
adamziel commentedon Aug 27, 2020
@TimothyBJacobs it is
draganescu commentedon Aug 27, 2020
Looks like a feature :)
adamziel commentedon Aug 27, 2020
Before concluding this issue I will confirm whether or not
unfiltered_htmlhas an effect here.adamziel commentedon Sep 15, 2020
It does, we're good to close this issue. I prepared some related unit tests in #24886