Skip to content
Business logic Disclosed report Beginner

A Unverified User Can Post Newsletter (Which Is Not Allowed Through Application UI)

An unverified user could create a newsletter by directly calling an API endpoint, even though the application UI does not offer this option and other publishing actions are blocked for unverified users. This bypasses the intended restriction that only verified users can create newsletters.

tushar6378 Follow

Originally disclosed on HackerOne

  • Triaged in 10 days
  • Fixed in 11 months
  • Paid in 14 days
  • Disclosed after 12 months

During the security testing, It has been observed that multiple features are not accessible to the unverified user( the user who did not verify the email) .. like : i) Creating posts and articles. ii) Sending connection and message Requests iii) Liking posts Also, For the unverified user, The API POST /voyager/api/publishing/normFirstPartyArticle gives 403 error and also there is no option to create the Newsletter in the application UI. ██████ But if we directly send the below request with the unverified user cookie ..it will be possible to create a new Newsletter.

POST /voyager/api/publishing/contentSeries HTTP/2
Host: www.linkedin.com
Cookie: xxx
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0
Accept: application/vnd.linkedin.normalized+json+2.1
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Li-Lang: en_US
X-Li-Track: {"clientVersion":"1.11.265","mpVersion":"1.11.265","osName":"web","timezoneOffset":5.5,"timezone":"Asia/Kolkata","deviceFormFactor":"DESKTOP","mpName":"voyager-web","displayDensity":1,"displayWidth":1440,"displayHeight":900}
X-Li-Page-Instance: urn:li:page:d_flagship3_publishing_post_edit;███████
Csrf-Token: ajax:████
X-Restli-Protocol-Version: 2.0.0
X-Li-Pem-Metadata: Voyager - Article Creator=create-series-model
Content-Type: application/json; charset=utf-8
Content-Length: 185
Origin: https://www.linkedin.com
Dnt: 1
Referer: https://www.linkedin.com/post/edit/███
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers

{"title":"dfghjk","description":"dgfhjkcgvhbjnkm","publishFrequency":{"duration":2,"unit":"MONTH"},"inviteTargetAudiences":true,"logoUrn":"urn:li:digitalmediaAsset:█████"}

Steps :

  1. Sign up for an account on Linkedin
  2. Without verifying the email, jump directly to the URL : https://www.linkedin.com/post/new/ to write an article
  3. It can be seen that there is no option to create a Newsletter.

██████████ 4) Now Login into the account where the Email is verified and try to create a newsletter.

████████ 5) Click on Done and capture the vulnerable request and replay the request with the unverified user cookies.

and the newsletter will be successfully created. ████████

Vulnerable Request

POST /voyager/api/publishing/contentSeries HTTP/2
Host: www.linkedin.com
Cookie: xxx
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0
Accept: application/vnd.linkedin.normalized+json+2.1
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Li-Lang: en_US
X-Li-Track: {"clientVersion":"1.11.265","mpVersion":"1.11.265","osName":"web","timezoneOffset":5.5,"timezone":"Asia/Kolkata","deviceFormFactor":"DESKTOP","mpName":"voyager-web","displayDensity":1,"displayWidth":1440,"displayHeight":900}
X-Li-Page-Instance: urn:li:page:d_flagship3_publishing_post_edit;█████
Csrf-Token: ajax:█████████
X-Restli-Protocol-Version: 2.0.0
X-Li-Pem-Metadata: Voyager - Article Creator=create-series-model
Content-Type: application/json; charset=utf-8
Content-Length: 185
Origin: https://www.linkedin.com
Dnt: 1
Referer: https://www.linkedin.com/post/edit/██████
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers

{"title":"dfghjk","description":"dgfhjkcgvhbjnkm","publishFrequency":{"duration":2,"unit":"MONTH"},"inviteTargetAudiences":true,"logoUrn":"urn:li:digitalmediaAsset:████"}

Impact

A Unverified User can Create Newsletter Even if it is not allowed through the application UI which violets the business logic of the application .

The original report as published on HackerOne, by tushar6378. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 5 min read.

Context

LinkedIn's publishing features are restricted for accounts that have not verified their email address. The researcher observed that unverified users cannot create posts or articles, send connection or message requests, or like posts. The application UI also does not offer an option to create a Newsletter for such accounts. The report focuses on the Newsletter creation endpoint, POST /voyager/api/publishing/contentSeries, which is part of LinkedIn's Voyager API used by the web client.

Setup

The researcher used an unverified account and, to capture a legitimate request, logged in to an account with a verified email address. The testing was performed against www.linkedin.com; the captured request carries a Firefox 104.0 on macOS user agent. No special tools or versions are mentioned beyond the browser and the ability to modify requests.

Finding it

While testing the restrictions on unverified accounts, the researcher noticed that the API endpoint POST /voyager/api/publishing/normFirstPartyArticle returns a 403 error for unverified users, and the UI provides no way to create a Newsletter. However, the researcher suspected that the restriction might be enforced only in the UI and not on the backend endpoint responsible for creating a Newsletter. By capturing a legitimate Newsletter creation request from a verified account and replaying it with an unverified user's session cookie, the researcher found that the request succeeded.

Exploitation

Step 1: Create an unverified account

Sign up for a new LinkedIn account and do not verify the email address.

Step 2: Confirm UI restrictions

Navigate directly to https://www.linkedin.com/post/new/ to attempt to write an article. Observe that there is no option to create a Newsletter in the interface.

Step 3: Capture a legitimate request

Log in to the account with a verified email address and go through the process of creating a Newsletter. Capture the request that is sent when clicking "Done". The captured request is shown below (with sensitive values redacted):

HTTP
POST /voyager/api/publishing/contentSeries HTTP/2
Host: www.linkedin.com
Cookie: xxx
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0
Accept: application/vnd.linkedin.normalized+json+2.1
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Li-Lang: en_US
X-Li-Track: {"clientVersion":"1.11.265","mpVersion":"1.11.265","osName":"web","timezoneOffset":5.5,"timezone":"Asia/Kolkata","deviceFormFactor":"DESKTOP","mpName":"voyager-web","displayDensity":1,"displayWidth":1440,"displayHeight":900}
X-Li-Page-Instance: urn:li:page:[redacted];███████
Csrf-Token: ajax:████
X-Restli-Protocol-Version: 2.0.0
X-Li-Pem-Metadata: Voyager - Article Creator=create-series-model
Content-Type: application/json; charset=utf-8
Content-Length: 185
Origin: https://www.linkedin.com
Dnt: 1
Referer: https://www.linkedin.com/post/edit/███
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers

{"title":"dfghjk","description":"dgfhjkcgvhbjnkm","publishFrequency":{"duration":2,"unit":"MONTH"},"inviteTargetAudiences":true,"logoUrn":"urn:li:digitalmediaAsset:█████"}

The request body contains the Newsletter title, description, publishing frequency, an invitation flag, and a logo URN. The request includes a Csrf-Token header.

Step 4: Replay with unverified cookie

Replay the request with the unverified user's cookie and send it. The server responds successfully, and the Newsletter is created for the unverified user.

The vulnerable request is reproduced below (again with redactions):

HTTP
POST /voyager/api/publishing/contentSeries HTTP/2
Host: www.linkedin.com
Cookie: xxx
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0
Accept: application/vnd.linkedin.normalized+json+2.1
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Li-Lang: en_US
X-Li-Track: {"clientVersion":"1.11.265","mpVersion":"1.11.265","osName":"web","timezoneOffset":5.5,"timezone":"Asia/Kolkata","deviceFormFactor":"DESKTOP","mpName":"voyager-web","displayDensity":1,"displayWidth":1440,"displayHeight":900}
X-Li-Page-Instance: urn:li:page:[redacted];█████
Csrf-Token: ajax:█████████
X-Restli-Protocol-Version: 2.0.0
X-Li-Pem-Metadata: Voyager - Article Creator=create-series-model
Content-Type: application/json; charset=utf-8
Content-Length: 185
Origin: https://www.linkedin.com
Dnt: 1
Referer: https://www.linkedin.com/post/edit/██████
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers

{"title":"dfghjk","description":"dgfhjkcgvhbjnkm","publishFrequency":{"duration":2,"unit":"MONTH"},"inviteTargetAudiences":true,"logoUrn":"urn:li:digitalmediaAsset:████"}

After sending the request, the Newsletter is successfully created.

Root cause

The backend endpoint POST /voyager/api/publishing/contentSeries does not enforce the same email verification requirement that is applied to other publishing actions (such as creating articles via normFirstPartyArticle, which returns 403). The UI offers no option to create a Newsletter for unverified users, while the endpoint accepts the request. Because the server does not validate the user's verification status before processing the request, an unverified user can bypass the UI restriction by directly calling the API. This is a classic business logic flaw where authorisation checks are missing on the server side.

Impact

An unverified user can create a Newsletter, which is not permitted through the normal application interface. This violates the intended business logic that restricts publishing features to verified accounts. The report does not specify any further consequences, such as spam or abuse potential,

Fix

The report does not state whether or how the issue was fixed. Client-side restrictions alone are insufficient.

Variants to test

  • Test other API endpoints that are restricted in the UI for unverified users (e.g. liking posts, sending connection requests) by replaying requests with an unverified session cookie. A positive result is a successful response (2xx) where a 403 or similar is expected.
  • Attempt to create other content types (articles, posts) via their respective API endpoints with an unverified cookie, checking for inconsistent enforcement.
  • Modify the X-Li-Pem-Metadata header or other headers to see if they influence authorisation decisions.
  • Try replaying requests with different user roles (e.g. restricted accounts) to see if similar bypasses exist.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 11 min read.

What happened, in plain words

LinkedIn lets people publish things: short posts, longer articles, and Newsletters (a Newsletter is a recurring publication that other people can subscribe to, a bit like a magazine that comes out on a schedule). LinkedIn also has a rule: before you can publish, you have to prove the email address on your account is real. You do that by clicking a link LinkedIn sends you. Until you click it, your account is "unverified".

The researcher found that LinkedIn's website does a good job of hiding publishing features from unverified accounts. The buttons simply are not there. But hiding a button is not the same as locking a door. The website talks to LinkedIn's servers through something called an API, and the researcher found that one of those server endpoints, the one that creates a Newsletter, did not check whether the account was verified. So an unverified account could still create a Newsletter by sending the request directly, skipping the website entirely.

This kind of bug is called a business logic error. It is not a broken password or a crashed server. It is a rule of the business ("only verified accounts may publish") that the software does not actually enforce where it matters.

Background you need

A few ideas come up again and again below, so here they are first.

  • The website versus the API. When you click a button on a website, your browser does not do the work itself. It sends a message to a server and the server does the work. That message is a request, and the address it is sent to is an endpoint. The collection of endpoints a website uses is its API. Think of a restaurant: the menu and the waiter are the website, the kitchen is the API. Hiding an item from the menu does not stop the kitchen from cooking it if someone walks in and orders it directly.
  • HTTP methods. Every request starts with a verb. GET means "give me something". POST means "create something" or "send you some data". The Newsletter request below is a POST because it creates a Newsletter.
  • Cookies. A cookie is a small piece of text your browser stores for a website and sends back with every request. On a site you are logged into, one of those cookies is your session cookie: it is the proof that the request comes from you. If someone else had your session cookie, the server would treat their requests as yours. That is why cookies are secret and are redacted in this report.
  • CSRF token. A CSRF token is an extra secret value, separate from the cookie, that the site puts into its pages and expects to see in requests that change something. It exists to stop other websites from silently making your browser send requests on your behalf. The Newsletter request carries one in a Csrf-Token header, and it has to match the session.
  • Headers. The lines above the blank line in a request are headers. They are labelled pieces of information: who you are (Cookie), what kind of data you accept (Accept), where the request came from (Origin, Referer), and so on.
  • Request body. After the blank line comes the body, the actual content being sent. For a Newsletter, the body describes the Newsletter.
  • Status codes. The server answers with a number. 200-ish numbers mean success. 403 means "I understood you, but you are not allowed".
  • Intercepting proxy. A tool that sits between your browser and the server, so you can look at each request, save it, change it, and send it again. The researcher used one to capture a request and replay it.
  • Replay. Sending a captured request again, possibly with parts changed. It is the digital equivalent of recording a form submission and posting the same envelope a second time.

The setup

The researcher worked with an unverified account and a verified account:

  1. One account whose email address was not verified.
  2. One account whose email address was verified.

The testing was done against www.linkedin.com; the captured request carries a Firefox 104.0 on macOS user agent. The report does not mention any other tools or versions.

Having both accounts is the key to the whole test. The verified account is used to learn what a legitimate Newsletter creation looks like. The unverified account is used to see whether the server actually cares who is asking.

Finding it

While testing what unverified accounts can and cannot do, the researcher listed the restrictions:

  1. Creating posts and articles is blocked.
  2. Sending connection requests and message requests is blocked.
  3. Liking posts is blocked.

Two more observations mattered:

  • The API endpoint POST /voyager/api/publishing/normFirstPartyArticle, which is the endpoint behind article creation, returns a 403 error for an unverified user. So at least one publishing endpoint does check.
  • The website's interface offers no option at all to create a Newsletter for an unverified account.

That combination raised a question: is the Newsletter restriction real, or is it only a missing button? If the server checked, the answer would be 403. If only the website checked, the answer would be success. The researcher captured a real Newsletter creation request from the verified account and sent it with the unverified account's cookie to find out.

Exploitation, step by step

Step 1: Create an unverified account

Sign up for a new LinkedIn account and do not verify the email address. This gives you the account whose limits you want to test.

Step 2: Confirm the website hides the feature

Go directly to https://www.linkedin.com/post/new/, the page for writing an article, and look for a Newsletter option. There is none. This confirms the restriction exists in the interface, but it tells you nothing about the server yet.

Step 3: Capture a legitimate request

Log in to the account with the verified email address and go through the normal process of creating a Newsletter. When you click "Done", the browser sends a request to the server. Capture that request with the proxy. It looks like this, with sensitive values redacted:

HTTP
POST /voyager/api/publishing/contentSeries HTTP/2
Host: www.linkedin.com
Cookie: xxx
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0
Accept: application/vnd.linkedin.normalized+json+2.1
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Li-Lang: en_US
X-Li-Track: {"clientVersion":"1.11.265","mpVersion":"1.11.265","osName":"web","timezoneOffset":5.5,"timezone":"Asia/Kolkata","deviceFormFactor":"DESKTOP","mpName":"voyager-web","displayDensity":1,"displayWidth":1440,"displayHeight":900}
X-Li-Page-Instance: urn:li:page:[redacted];███████
Csrf-Token: ajax:████
X-Restli-Protocol-Version: 2.0.0
X-Li-Pem-Metadata: Voyager - Article Creator=create-series-model
Content-Type: application/json; charset=utf-8
Content-Length: 185
Origin: https://www.linkedin.com
Dnt: 1
Referer: https://www.linkedin.com/post/edit/███
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers

{"title":"dfghjk","description":"dgfhjkcgvhbjnkm","publishFrequency":{"duration":2,"unit":"MONTH"},"inviteTargetAudiences":true,"logoUrn":"urn:li:digitalmediaAsset:█████"}

Line by line, in plain words:

  • POST /voyager/api/publishing/contentSeries HTTP/2: create something at this address, using version 2 of the HTTP protocol.
  • Host: www.linkedin.com: which server the request is for.
  • Cookie: xxx: the session cookie. This is the part that says "I am this logged-in user". It is redacted here because anyone holding it could act as that user.
  • User-Agent: ...: which browser and operating system sent the request. Here, Firefox 104.0 on macOS.
  • Accept: application/vnd.linkedin.normalized+json+2.1: the format of answer the browser would like back, a LinkedIn-specific flavour of JSON (a text format for structured data).
  • Accept-Language, Accept-Encoding: preferred language and whether compressed answers are acceptable.
  • X-Li-Lang: en_US: the interface language, US English.
  • X-Li-Track: {...}: a block of information the website sends about the browser session, such as screen size, time zone and internal version numbers. It is informational, not a password.
  • X-Li-Page-Instance: urn:li:page:...: an identifier for the page the request came from. The value after the semicolon is redacted.
  • Csrf-Token: ajax:████: the anti-forgery token described earlier. It must belong to the same session as the cookie.
  • X-Restli-Protocol-Version: 2.0.0: which version of LinkedIn's internal request conventions is being used.
  • X-Li-Pem-Metadata: Voyager - Article Creator=create-series-model: a header sent with the request.
  • Content-Type: application/json; charset=utf-8: the body is JSON text, encoded in UTF-8.
  • Content-Length: 185: the body is 185 bytes long.
  • Origin and Referer: where the request came from. Origin names the site; Referer names the page, and the page identifier is redacted.
  • Dnt: 1: the browser is asking not to be tracked.
  • Sec-Fetch-*: hints the browser adds about the kind of request this is. Here it is a same-origin request made by script.
  • Te: trailers: the browser can accept trailing headers after the body.
  • The blank line separates headers from body.
  • The body: title and description are the Newsletter's name and blurb. publishFrequency says how often it comes out: every 2 months. inviteTargetAudiences is a true/false flag about inviting the intended audience. logoUrn points to an uploaded logo image, identified by a redacted asset ID.

Step 4: Replay it with the unverified account's cookie

Now take that captured request and replay it with the unverified account's cookie. Send it. The server accepts it and the Newsletter is created for the unverified user.

The request that demonstrates the problem is reproduced below, again with redactions:

HTTP
POST /voyager/api/publishing/contentSeries HTTP/2
Host: www.linkedin.com
Cookie: xxx
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0
Accept: application/vnd.linkedin.normalized+json+2.1
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Li-Lang: en_US
X-Li-Track: {"clientVersion":"1.11.265","mpVersion":"1.11.265","osName":"web","timezoneOffset":5.5,"timezone":"Asia/Kolkata","deviceFormFactor":"DESKTOP","mpName":"voyager-web","displayDensity":1,"displayWidth":1440,"displayHeight":900}
X-Li-Page-Instance: urn:li:page:[redacted];█████
Csrf-Token: ajax:█████████
X-Restli-Protocol-Version: 2.0.0
X-Li-Pem-Metadata: Voyager - Article Creator=create-series-model
Content-Type: application/json; charset=utf-8
Content-Length: 185
Origin: https://www.linkedin.com
Dnt: 1
Referer: https://www.linkedin.com/post/edit/██████
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers

{"title":"dfghjk","description":"dgfhjkcgvhbjnkm","publishFrequency":{"duration":2,"unit":"MONTH"},"inviteTargetAudiences":true,"logoUrn":"urn:li:digitalmediaAsset:████"}

This is the request replayed with the unverified account's cookie. The server answers successfully, and the Newsletter is created.

Why it works

The endpoint POST /voyager/api/publishing/contentSeries does not apply the email verification requirement that other publishing actions apply. Article creation through normFirstPartyArticle does return 403 for an unverified user, so the check exists elsewhere; it is simply missing here. The website's interface hides the Newsletter option from unverified accounts, while the endpoint accepts the request. Because the server never asks whether the account is verified before doing the work, anyone who sends the request directly gets past the hidden button.

This is the classic shape of a business logic flaw: an authorisation check that exists in the client but not on the server. The client is whatever runs in your browser, and it is entirely under the user's control. Anything enforced only there can be skipped.

Impact

An unverified user can create a Newsletter, which the normal interface does not allow. That breaks the intended rule that publishing features belong to verified accounts. The report does not describe any further consequences such as spam or abuse,

Fix

A restriction that exists only in the interface is not a restriction.

Other places to look

  • Try other endpoints that the interface hides from unverified users, such as liking posts or sending connection requests, by replaying requests with an unverified session cookie. A success where a 403 is expected is the signal.
  • Try creating other content types, articles and posts, through their own endpoints with an unverified cookie, and compare how consistently the rule is enforced.
  • Change the X-Li-Pem-Metadata header or other headers to see whether they affect the authorisation decision.
  • Replay requests with other kinds of restricted accounts to see whether similar bypasses exist.

Glossary

  • API: the set of addresses and rules a website uses to ask its server to do things.
  • Endpoint: one specific address in an API, such as /voyager/api/publishing/contentSeries.
  • Request: the message a browser sends to a server.
  • Response: the message a server sends back.
  • HTTP method: the verb at the start of a request; GET asks for data, POST creates or sends data.
  • Header: a labelled piece of information attached to a request or response, such as Cookie or Content-Type.
  • Request body: the content sent after the headers, here the Newsletter's details in JSON.
  • Cookie: a small piece of text a browser stores for a site and sends back with each request.
  • Session cookie: the cookie that proves which logged-in user a request belongs to.
  • CSRF token: an extra secret value, separate from the cookie, that a site expects in requests that change something, to stop other sites from forging them.
  • Status code: the number a server answers with; 200-range means success, 403 means not allowed.
  • JSON: a text format for structured data, made of names and values in curly braces.
  • URN: a unique identifier written as a labelled string, such as urn:li:digitalmediaAsset:... for an uploaded image.
  • Intercepting proxy: a tool placed between browser and server that can view, save, change and resend requests.
  • Business logic error: a flaw where the software fails to enforce a rule of the business, rather than a technical failure such as a crash.
  • Authorisation: deciding whether a user is allowed to do something.
  • Client-side: happening in the browser, under the user's control.
  • Server-side: happening on the server, out of the user's reach.
  • Voyager: the name of LinkedIn's internal API used by its web client.
  • Newsletter: a recurring publication on LinkedIn that readers can subscribe to.
  • Unverified account: an account whose email address has not been confirmed by clicking the link sent to it.

More by tushar6378

View all

3 more disclosed reports, best first.

More from LinkedIn

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.