My First CVE! The Journey to Discovering CVE-2026–46620 in e107 CMS
e107 CMS did not properly enforce CSRF token validation on comment moderation actions, so a crafted page could silently delete or approve comments on behalf of a logged-in administrator or moderator. The victim only had to visit the malicious page for the action to run.
Published on mrknightnidu.medium.com
It’s been a while since my last blog post I’ve been pretty busy. but today I’ve got some great news… I finally got my first CVE! Yes, you read that right!
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the session handler's token check treated a missing token as acceptable, so moderation endpoints processed requests without a valid CSRF token.
Impact
An attacker could silently delete or approve comments as a logged-in administrator or moderator, though the text only demonstrates the delete action.
What the attacker needed
Victim logged in as admin or moderator; victim visits attacker page
How it was found
- While logged in as an administrator or moderator, visit an attacker-controlled page.
- The page automatically submits a hidden form to the comment moderation endpoint with a delete mode.
- The comment is deleted without any further interaction from the victim.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When you are logged in to a site, your browser automatically sends your session cookie with every request to that site. A cross-site request forgery (CSRF) attack tricks your browser into sending a state-changing request, such as deleting a comment, from a page the attacker controls. Here the site never checked for a secret anti-CSRF token, so the request was accepted as if the moderator had made it themselves.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.