Skip to content
CSRF Write-up Beginner

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.

mrknightnidu Follow

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!

MRKNIGHT-NIDU, on mrknightnidu.medium.com

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

  1. While logged in as an administrator or moderator, visit an attacker-controlled page.
  2. The page automatically submits a hidden form to the comment moderation endpoint with a delete mode.
  3. 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.

More by mrknightnidu

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.